home *** CD-ROM | disk | FTP | other *** search
/ Grolier Multimedia Encyclopedia 1998 / 1998 Grolier Multimedia Encyclopedia (Grolier Interactive)(1997).iso / Install GME98 / Install GME98.rsrc / bin.rsrc_CODE_3_Engine.txt < prev    next >
Text File  |  1997-08-13  |  520KB  |  9,528 lines

  1. # near model CODE resource
  2. # jump table entries: 64800-64833 (34 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  FD20                     .extension 0xD20 // unimplemented
  5. 00000004  0000 5FDA                ori.b      D0, 0xDA
  6. fn00000008:
  7. 00000008  48E7 1820                movem.l    -[A7], D3,D4,A2
  8. 0000000C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  9. 00000010  246F 0020                movea.l    A2, [A7 + 0x20]
  10. 00000014  7841                     moveq.l    D4, 0x41
  11. 00000016  6016                     bra        +0x18 /* 0000002E */
  12. label00000018:
  13. 00000018  0C04 00FE                cmpi.b     D4, 0xFE
  14. 0000001C  6604                     bne        +0x6 /* 00000022 */
  15. 0000001E  70D0                     moveq.l    D0, 0xFFFFFFD0
  16. 00000020  6032                     bra        +0x34 /* 00000054 */
  17. label00000022:
  18. 00000022  7000                     moveq.l    D0, 0x00
  19. 00000024  102A 0006                move.b     D0, [A2 + 0x6]
  20. 00000028  1584 0006                move.b     [A2 + D0.w + 0x6], D4
  21. 0000002C  5204                     addq.b     D4, 1
  22. label0000002E:
  23. 0000002E  554F                     subq.w     A7, 2
  24. 00000030  3F12                     move.w     -[A7], [A2]
  25. 00000032  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  26. 00000036  486A 0006                pea.l      [A2 + 0x6]
  27. 0000003A  486F 000C                pea.l      [A7 + 0xC]
  28. 0000003E  4EAD FFB8                jsr        [A5 - 0x48]
  29. 00000042  301F                     move.w     D0, [A7]+
  30. 00000044  3600                     move.w     D3, D0
  31. 00000046  4A40                     tst.w      D0
  32. 00000048  67CE                     beq        -0x30 /* 00000018 */
  33. 0000004A  0C43 FFD5                cmpi.w     D3, 0xFFD5
  34. 0000004E  6602                     bne        +0x4 /* 00000052 */
  35. 00000050  7600                     moveq.l    D3, 0x00
  36. label00000052:
  37. 00000052  3003                     move.w     D0, D3
  38. label00000054:
  39. 00000054  4FEF 0010                lea.l      A7, [A7 + 0x10]
  40. 00000058  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  41. 0000005C  4E75                     rts
  42. fn0000005E:
  43. 0000005E  2F03                     move.l     -[A7], D3
  44. 00000060  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  45. 00000064  162F 008C                move.b     D3, [A7 + 0x8C]
  46. 00000068  2F6F 0088 0012           move.l     [A7 + 0x12], [A7 + 0x88]
  47. 0000006E  3F6F 0082 0016           move.w     [A7 + 0x16], [A7 + 0x82]
  48. 00000074  2F6F 0084 0030           move.l     [A7 + 0x30], [A7 + 0x84]
  49. 0000007A  422F 001F                clr.b      [A7 + 0x1F]
  50. 0000007E  422F 001A                clr.b      [A7 + 0x1A]
  51. 00000082  4A03                     tst.b      D3
  52. 00000084  6606                     bne        +0x8 /* 0000008C */
  53. 00000086  41D7                     lea.l      A0, [A7]
  54. 00000088  A242                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=2
  55. 0000008A  3600                     move.w     D3, D0
  56. label0000008C:
  57. 0000008C  41D7                     lea.l      A0, [A7]
  58. 0000008E  A209                     syscall    Delete/PBHDelete/HDelete, flags=2
  59. 00000090  3600                     move.w     D3, D0
  60. 00000092  3003                     move.w     D0, D3
  61. 00000094  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  62. 00000098  261F                     move.l     D3, [A7]+
  63. 0000009A  4E75                     rts
  64. fn0000009C:
  65. 0000009C  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  66. 000000A0  5D4F                     subq.w     A7, 6
  67. 000000A2  3C2F 0022                move.w     D6, [A7 + 0x22]
  68. 000000A6  2A2F 0024                move.l     D5, [A7 + 0x24]
  69. 000000AA  266F 0028                movea.l    A3, [A7 + 0x28]
  70. 000000AE  382F 002C                move.w     D4, [A7 + 0x2C]
  71. 000000B2  7600                     moveq.l    D3, 0x00
  72. 000000B4  426F 0004                clr.w      [A7 + 0x4]
  73. 000000B8  4A43                     tst.w      D3
  74. 000000BA  6642                     bne        +0x44 /* 000000FE */
  75. 000000BC  0C44 0001                cmpi.w     D4, 0x1
  76. 000000C0  661A                     bne        +0x1C /* 000000DC */
  77. 000000C2  486F 0004                pea.l      [A7 + 0x4]
  78. 000000C6  1F3C 0001                move.b     -[A7], 0x1
  79. 000000CA  2F0B                     move.l     -[A7], A3
  80. 000000CC  2F05                     move.l     -[A7], D5
  81. 000000CE  3F06                     move.w     -[A7], D6
  82. 000000D0  4EBA 0DE4                jsr        [PC + 0xDE4 /* 00000EB6 */]
  83. 000000D4  3600                     move.w     D3, D0
  84. 000000D6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  85. 000000DA  6022                     bra        +0x24 /* 000000FE */
  86. label000000DC:
  87. 000000DC  0C44 0002                cmpi.w     D4, 0x2
  88. 000000E0  661A                     bne        +0x1C /* 000000FC */
  89. 000000E2  486F 0004                pea.l      [A7 + 0x4]
  90. 000000E6  1F3C 0001                move.b     -[A7], 0x1
  91. 000000EA  2F0B                     move.l     -[A7], A3
  92. 000000EC  2F05                     move.l     -[A7], D5
  93. 000000EE  3F06                     move.w     -[A7], D6
  94. 000000F0  4EBA 0E0A                jsr        [PC + 0xE0A /* 00000EFC */]
  95. 000000F4  3600                     move.w     D3, D0
  96. 000000F6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  97. 000000FA  6002                     bra        +0x4 /* 000000FE */
  98. label000000FC:
  99. 000000FC  76FF                     moveq.l    D3, 0xFFFFFFFF
  100. label000000FE:
  101. 000000FE  4A43                     tst.w      D3
  102. 00000100  6668                     bne        +0x6A /* 0000016A */
  103. 00000102  203C 0000 2000           move.l     D0, 0x2000 /* ' \0' */
  104. 00000108  A11E                     syscall    NewPtr, flags=1
  105. 0000010A  2448                     movea.l    A2, A0
  106. 0000010C  554F                     subq.w     A7, 2
  107. 0000010E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  108. 00000112  301F                     move.w     D0, [A7]+
  109. 00000114  3600                     move.w     D3, D0
  110. 00000116  6052                     bra        +0x54 /* 0000016A */
  111. label00000118:
  112. 00000118  4AAD E8A2                tst.l      [A5 - 0x175E]
  113. 0000011C  670A                     beq        +0xC /* 00000128 */
  114. 0000011E  206D E8A2                movea.l    A0, [A5 - 0x175E]
  115. 00000122  4E90                     jsr        [A0]
  116. 00000124  4A00                     tst.b      D0
  117. 00000126  6640                     bne        +0x42 /* 00000168 */
  118. label00000128:
  119. 00000128  2EBC 0000 2000           move.l     [A7], 0x2000 /* ' \0' */
  120. 0000012E  554F                     subq.w     A7, 2
  121. 00000130  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  122. 00000134  486F 0004                pea.l      [A7 + 0x4]
  123. 00000138  2F0A                     move.l     -[A7], A2
  124. 0000013A  4EAD FEE0                jsr        [A5 - 0x120]
  125. 0000013E  301F                     move.w     D0, [A7]+
  126. 00000140  3600                     move.w     D3, D0
  127. 00000142  0C43 FFD9                cmpi.w     D3, 0xFFD9
  128. 00000146  6606                     bne        +0x8 /* 0000014E */
  129. 00000148  4A97                     tst.l      [A7]
  130. 0000014A  6F02                     ble        +0x4 /* 0000014E */
  131. 0000014C  7600                     moveq.l    D3, 0x00
  132. label0000014E:
  133. 0000014E  4A43                     tst.w      D3
  134. 00000150  6618                     bne        +0x1A /* 0000016A */
  135. 00000152  554F                     subq.w     A7, 2
  136. 00000154  3F2F 0030                move.w     -[A7], [A7 + 0x30]
  137. 00000158  486F 0004                pea.l      [A7 + 0x4]
  138. 0000015C  2F0A                     move.l     -[A7], A2
  139. 0000015E  4EAD FEE8                jsr        [A5 - 0x118]
  140. 00000162  301F                     move.w     D0, [A7]+
  141. 00000164  3600                     move.w     D3, D0
  142. 00000166  6002                     bra        +0x4 /* 0000016A */
  143. label00000168:
  144. 00000168  7601                     moveq.l    D3, 0x01
  145. label0000016A:
  146. 0000016A  4A43                     tst.w      D3
  147. 0000016C  67AA                     beq        -0x54 /* 00000118 */
  148. 0000016E  0C43 FFD9                cmpi.w     D3, 0xFFD9
  149. 00000172  6602                     bne        +0x4 /* 00000176 */
  150. 00000174  7600                     moveq.l    D3, 0x00
  151. label00000176:
  152. 00000176  200A                     move.l     D0, A2
  153. 00000178  6704                     beq        +0x6 /* 0000017E */
  154. 0000017A  204A                     movea.l    A0, A2
  155. 0000017C  A01F                     syscall    DisposPtr/DisposePtr
  156. label0000017E:
  157. 0000017E  4A6F 0004                tst.w      [A7 + 0x4]
  158. 00000182  670C                     beq        +0xE /* 00000190 */
  159. 00000184  554F                     subq.w     A7, 2
  160. 00000186  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  161. 0000018A  4EAD FED8                jsr        [A5 - 0x128]
  162. 0000018E  301F                     move.w     D0, [A7]+
  163. label00000190:
  164. 00000190  3003                     move.w     D0, D3
  165. 00000192  5C4F                     addq.w     A7, 6
  166. 00000194  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  167. 00000198  4E75                     rts
  168. fn0000019A:
  169. 0000019A  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  170. 0000019E  4FEF FF76                lea.l      A7, [A7 - 0x8A]
  171. 000001A2  286F 00B0                movea.l    A4, [A7 + 0xB0]
  172. 000001A6  266F 00B4                movea.l    A3, [A7 + 0xB4]
  173. 000001AA  382F 00B8                move.w     D4, [A7 + 0xB8]
  174. 000001AE  2A2F 00BA                move.l     D5, [A7 + 0xBA]
  175. 000001B2  246F 00BE                movea.l    A2, [A7 + 0xBE]
  176. 000001B6  7600                     moveq.l    D3, 0x00
  177. 000001B8  7E00                     moveq.l    D7, 0x00
  178. 000001BA  7C00                     moveq.l    D6, 0x00
  179. 000001BC  426F 000C                clr.w      [A7 + 0xC]
  180. 000001C0  426F 000E                clr.w      [A7 + 0xE]
  181. 000001C4  4A43                     tst.w      D3
  182. 000001C6  6622                     bne        +0x24 /* 000001EA */
  183. 000001C8  3F6F 00AE 0026           move.w     [A7 + 0x26], [A7 + 0xAE]
  184. 000001CE  2F4C 0040                move.l     [A7 + 0x40], A4
  185. 000001D2  2F4B 0022                move.l     [A7 + 0x22], A3
  186. 000001D6  422F 002F                clr.b      [A7 + 0x2F]
  187. 000001DA  422F 002A                clr.b      [A7 + 0x2A]
  188. 000001DE  426F 002C                clr.w      [A7 + 0x2C]
  189. 000001E2  41EF 0010                lea.l      A0, [A7 + 0x10]
  190. 000001E6  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  191. 000001E8  3600                     move.w     D3, D0
  192. label000001EA:
  193. 000001EA  4A43                     tst.w      D3
  194. 000001EC  6614                     bne        +0x16 /* 00000202 */
  195. 000001EE  102F 002E                move.b     D0, [A7 + 0x2E]
  196. 000001F2  7201                     moveq.l    D1, 0x01
  197. 000001F4  C081                     and.l      D0, D1
  198. 000001F6  4A80                     tst.l      D0
  199. 000001F8  6604                     bne        +0x6 /* 000001FE */
  200. 000001FA  7000                     moveq.l    D0, 0x00
  201. 000001FC  6002                     bra        +0x4 /* 00000200 */
  202. label000001FE:
  203. 000001FE  7001                     moveq.l    D0, 0x01
  204. label00000200:
  205. 00000200  1E00                     move.b     D7, D0
  206. label00000202:
  207. 00000202  4A43                     tst.w      D3
  208. 00000204  6618                     bne        +0x1A /* 0000021E */
  209. 00000206  554F                     subq.w     A7, 2
  210. 00000208  3F04                     move.w     -[A7], D4
  211. 0000020A  2F05                     move.l     -[A7], D5
  212. 0000020C  2F0A                     move.l     -[A7], A2
  213. 0000020E  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  214. 00000212  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  215. 00000216  4EAD FFA0                jsr        [A5 - 0x60]
  216. 0000021A  301F                     move.w     D0, [A7]+
  217. 0000021C  3600                     move.w     D3, D0
  218. label0000021E:
  219. 0000021E  4A43                     tst.w      D3
  220. 00000220  6618                     bne        +0x1A /* 0000023A */
  221. 00000222  486F 000E                pea.l      [A7 + 0xE]
  222. 00000226  1F3C 0002                move.b     -[A7], 0x2
  223. 0000022A  2F0A                     move.l     -[A7], A2
  224. 0000022C  2F05                     move.l     -[A7], D5
  225. 0000022E  3F04                     move.w     -[A7], D4
  226. 00000230  4EBA 0C84                jsr        [PC + 0xC84 /* 00000EB6 */]
  227. 00000234  3600                     move.w     D3, D0
  228. 00000236  4FEF 0010                lea.l      A7, [A7 + 0x10]
  229. label0000023A:
  230. 0000023A  4A43                     tst.w      D3
  231. 0000023C  6618                     bne        +0x1A /* 00000256 */
  232. 0000023E  486F 000C                pea.l      [A7 + 0xC]
  233. 00000242  1F3C 0002                move.b     -[A7], 0x2
  234. 00000246  2F0A                     move.l     -[A7], A2
  235. 00000248  2F05                     move.l     -[A7], D5
  236. 0000024A  3F04                     move.w     -[A7], D4
  237. 0000024C  4EBA 0CAE                jsr        [PC + 0xCAE /* 00000EFC */]
  238. 00000250  3600                     move.w     D3, D0
  239. 00000252  4FEF 0010                lea.l      A7, [A7 + 0x10]
  240. label00000256:
  241. 00000256  4A43                     tst.w      D3
  242. 00000258  661A                     bne        +0x1C /* 00000274 */
  243. 0000025A  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  244. 0000025E  3F3C 0001                move.w     -[A7], 0x1
  245. 00000262  2F0B                     move.l     -[A7], A3
  246. 00000264  2F0C                     move.l     -[A7], A4
  247. 00000266  3F2F 00BA                move.w     -[A7], [A7 + 0xBA]
  248. 0000026A  4EBA FE30                jsr        [PC - 0x1D0 /* 0000009C */]
  249. 0000026E  3600                     move.w     D3, D0
  250. 00000270  4FEF 000E                lea.l      A7, [A7 + 0xE]
  251. label00000274:
  252. 00000274  4A43                     tst.w      D3
  253. 00000276  661A                     bne        +0x1C /* 00000292 */
  254. 00000278  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  255. 0000027C  3F3C 0002                move.w     -[A7], 0x2
  256. 00000280  2F0B                     move.l     -[A7], A3
  257. 00000282  2F0C                     move.l     -[A7], A4
  258. 00000284  3F2F 00BA                move.w     -[A7], [A7 + 0xBA]
  259. 00000288  4EBA FE12                jsr        [PC - 0x1EE /* 0000009C */]
  260. 0000028C  3600                     move.w     D3, D0
  261. 0000028E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  262. label00000292:
  263. 00000292  4A43                     tst.w      D3
  264. 00000294  666C                     bne        +0x6E /* 00000302 */
  265. 00000296  3F44 0026                move.w     [A7 + 0x26], D4
  266. 0000029A  2F45 0040                move.l     [A7 + 0x40], D5
  267. 0000029E  2F4A 0022                move.l     [A7 + 0x22], A2
  268. 000002A2  422F 002F                clr.b      [A7 + 0x2F]
  269. 000002A6  422F 002A                clr.b      [A7 + 0x2A]
  270. 000002AA  426F 002C                clr.w      [A7 + 0x2C]
  271. 000002AE  4A2F 00C2                tst.b      [A7 + 0xC2]
  272. 000002B2  6734                     beq        +0x36 /* 000002E8 */
  273. 000002B4  2F6F 00C4 0008           move.l     [A7 + 0x8], [A7 + 0xC4]
  274. 000002BA  2EAD F872                move.l     [A7], [A5 - 0x78E]
  275. 000002BE  2F6D F876 0004           move.l     [A7 + 0x4], [A5 - 0x78A]
  276. 000002C4  554F                     subq.w     A7, 2
  277. 000002C6  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  278. 000002CA  486F 0006                pea.l      [A7 + 0x6]
  279. 000002CE  A8AD                     syscall    PtInRect
  280. 000002D0  101F                     move.b     D0, [A7]+
  281. 000002D2  670C                     beq        +0xE /* 000002E0 */
  282. 000002D4  066F 4E20 0008           addi.w     [A7 + 0x8], 0x4E20 /* 'N ' */
  283. 000002DA  066F 4E20 000A           addi.w     [A7 + 0xA], 0x4E20 /* 'N ' */
  284. label000002E0:
  285. 000002E0  2F6F 0008 003A           move.l     [A7 + 0x3A], [A7 + 0x8]
  286. 000002E6  600C                     bra        +0xE /* 000002F4 */
  287. label000002E8:
  288. 000002E8  3F7C FFFF 003A           move.w     [A7 + 0x3A], 0xFFFF
  289. 000002EE  3F7C FFFF 003C           move.w     [A7 + 0x3C], 0xFFFF
  290. label000002F4:
  291. 000002F4  006F 0100 0038           ori.w      [A7 + 0x38], 0x100
  292. 000002FA  41EF 0010                lea.l      A0, [A7 + 0x10]
  293. 000002FE  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  294. 00000300  3600                     move.w     D3, D0
  295. label00000302:
  296. 00000302  4A6F 000C                tst.w      [A7 + 0xC]
  297. 00000306  670C                     beq        +0xE /* 00000314 */
  298. 00000308  554F                     subq.w     A7, 2
  299. 0000030A  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  300. 0000030E  4EAD FED8                jsr        [A5 - 0x128]
  301. 00000312  301F                     move.w     D0, [A7]+
  302. label00000314:
  303. 00000314  4A6F 000E                tst.w      [A7 + 0xE]
  304. 00000318  670C                     beq        +0xE /* 00000326 */
  305. 0000031A  554F                     subq.w     A7, 2
  306. 0000031C  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  307. 00000320  4EAD FED8                jsr        [A5 - 0x128]
  308. 00000324  301F                     move.w     D0, [A7]+
  309. label00000326:
  310. 00000326  4A43                     tst.w      D3
  311. 00000328  6638                     bne        +0x3A /* 00000362 */
  312. 0000032A  082F 0005 0038           btst.b     [A7 + 0x38], 0x5
  313. 00000330  672E                     beq        +0x30 /* 00000360 */
  314. 00000332  3F04                     move.w     -[A7], D4
  315. 00000334  4EBA 09B2                jsr        [PC + 0x9B2 /* 00000CE8 */]
  316. 00000338  4A00                     tst.b      D0
  317. 0000033A  544F                     addq.w     A7, 2
  318. 0000033C  6724                     beq        +0x26 /* 00000362 */
  319. 0000033E  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  320. 00000342  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  321. 00000346  2F0A                     move.l     -[A7], A2
  322. 00000348  2F05                     move.l     -[A7], D5
  323. 0000034A  3F04                     move.w     -[A7], D4
  324. 0000034C  4EBA 09EC                jsr        [PC + 0x9EC /* 00000D3A */]
  325. 00000350  3600                     move.w     D3, D0
  326. 00000352  4A43                     tst.w      D3
  327. 00000354  4FEF 0012                lea.l      A7, [A7 + 0x12]
  328. 00000358  6602                     bne        +0x4 /* 0000035C */
  329. 0000035A  7C01                     moveq.l    D6, 0x01
  330. label0000035C:
  331. 0000035C  7600                     moveq.l    D3, 0x00
  332. 0000035E  6002                     bra        +0x4 /* 00000362 */
  333. label00000360:
  334. 00000360  7C01                     moveq.l    D6, 0x01
  335. label00000362:
  336. 00000362  4A43                     tst.w      D3
  337. 00000364  662A                     bne        +0x2C /* 00000390 */
  338. 00000366  3F44 0026                move.w     [A7 + 0x26], D4
  339. 0000036A  2F45 0040                move.l     [A7 + 0x40], D5
  340. 0000036E  2F4A 0022                move.l     [A7 + 0x22], A2
  341. 00000372  422F 002F                clr.b      [A7 + 0x2F]
  342. 00000376  422F 002A                clr.b      [A7 + 0x2A]
  343. 0000037A  426F 002C                clr.w      [A7 + 0x2C]
  344. 0000037E  4A06                     tst.b      D6
  345. 00000380  6606                     bne        +0x8 /* 00000388 */
  346. 00000382  026F FEFF 0038           andi.w     [A7 + 0x38], 0xFEFF
  347. label00000388:
  348. 00000388  41EF 0010                lea.l      A0, [A7 + 0x10]
  349. 0000038C  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  350. 0000038E  3600                     move.w     D3, D0
  351. label00000390:
  352. 00000390  4A43                     tst.w      D3
  353. 00000392  6620                     bne        +0x22 /* 000003B4 */
  354. 00000394  4A07                     tst.b      D7
  355. 00000396  671C                     beq        +0x1E /* 000003B4 */
  356. 00000398  3F44 0026                move.w     [A7 + 0x26], D4
  357. 0000039C  2F45 0040                move.l     [A7 + 0x40], D5
  358. 000003A0  2F4A 0022                move.l     [A7 + 0x22], A2
  359. 000003A4  422F 002F                clr.b      [A7 + 0x2F]
  360. 000003A8  422F 002A                clr.b      [A7 + 0x2A]
  361. 000003AC  41EF 0010                lea.l      A0, [A7 + 0x10]
  362. 000003B0  A241                     syscall    SetFilLock/PBHSetFLock/HSetFLock, flags=2
  363. 000003B2  3600                     move.w     D3, D0
  364. label000003B4:
  365. 000003B4  554F                     subq.w     A7, 2
  366. 000003B6  42A7                     clr.l      -[A7]
  367. 000003B8  3F04                     move.w     -[A7], D4
  368. 000003BA  4EAD FF10                jsr        [A5 - 0xF0]
  369. 000003BE  301F                     move.w     D0, [A7]+
  370. 000003C0  3003                     move.w     D0, D3
  371. 000003C2  4FEF 008A                lea.l      A7, [A7 + 0x8A]
  372. 000003C6  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  373. 000003CA  4E75                     rts
  374. fn000003CC:
  375. 000003CC  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  376. 000003D0  3A2F 001E                move.w     D5, [A7 + 0x1E]
  377. 000003D4  282F 0020                move.l     D4, [A7 + 0x20]
  378. 000003D8  246F 0024                movea.l    A2, [A7 + 0x24]
  379. 000003DC  7600                     moveq.l    D3, 0x00
  380. 000003DE  2F0A                     move.l     -[A7], A2
  381. 000003E0  2F04                     move.l     -[A7], D4
  382. 000003E2  3F05                     move.w     -[A7], D5
  383. 000003E4  4EBA 00C4                jsr        [PC + 0xC4 /* 000004AA */]
  384. 000003E8  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  385. 000003EC  1F2F 0036                move.b     -[A7], [A7 + 0x36]
  386. 000003F0  2F0A                     move.l     -[A7], A2
  387. 000003F2  2F04                     move.l     -[A7], D4
  388. 000003F4  3F05                     move.w     -[A7], D5
  389. 000003F6  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  390. 000003FA  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  391. 000003FE  3F2F 0036                move.w     -[A7], [A7 + 0x36]
  392. 00000402  4EBA FD96                jsr        [PC - 0x26A /* 0000019A */]
  393. 00000406  3600                     move.w     D3, D0
  394. 00000408  3003                     move.w     D0, D3
  395. 0000040A  4FEF 0024                lea.l      A7, [A7 + 0x24]
  396. 0000040E  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  397. 00000412  4E75                     rts
  398. fn00000414:
  399. 00000414  48E7 1C00                movem.l    -[A7], D3,D4,D5
  400. 00000418  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  401. 0000041C  382F 0030                move.w     D4, [A7 + 0x30]
  402. 00000420  2A2F 0032                move.l     D5, [A7 + 0x32]
  403. label00000424:
  404. 00000424  41D7                     lea.l      A0, [A7]
  405. 00000426  2B48 E848                move.l     [A5 - 0x17B8], A0
  406. 0000042A  3B44 E84C                move.w     [A5 - 0x17B4], D4
  407. 0000042E  2B45 E866                move.l     [A5 - 0x179A], D5
  408. 00000432  422D E850                clr.b      [A5 - 0x17B0]
  409. 00000436  3B7C 0001 E852           move.w     [A5 - 0x17AE], 0x1
  410. 0000043C  41ED E836                lea.l      A0, [A5 - 0x17CA]
  411. 00000440  7009                     moveq.l    D0, 0x09
  412. 00000442  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  413. 00000444  3600                     move.w     D3, D0
  414. 00000446  4A43                     tst.w      D3
  415. 00000448  6644                     bne        +0x46 /* 0000048E */
  416. 0000044A  102D E854                move.b     D0, [A5 - 0x17AC]
  417. 0000044E  7210                     moveq.l    D1, 0x10
  418. 00000450  C081                     and.l      D0, D1
  419. 00000452  672A                     beq        +0x2C /* 0000047E */
  420. 00000454  2F2D E866                move.l     -[A7], [A5 - 0x179A]
  421. 00000458  3F04                     move.w     -[A7], D4
  422. 0000045A  4EBA FFB8                jsr        [PC - 0x48 /* 00000414 */]
  423. 0000045E  3600                     move.w     D3, D0
  424. 00000460  4A43                     tst.w      D3
  425. 00000462  5C4F                     addq.w     A7, 6
  426. 00000464  6628                     bne        +0x2A /* 0000048E */
  427. 00000466  1F3C 0001                move.b     -[A7], 0x1
  428. 0000046A  486F 0002                pea.l      [A7 + 0x2]
  429. 0000046E  2F05                     move.l     -[A7], D5
  430. 00000470  3F04                     move.w     -[A7], D4
  431. 00000472  4EBA FBEA                jsr        [PC - 0x416 /* 0000005E */]
  432. 00000476  3600                     move.w     D3, D0
  433. 00000478  4FEF 000C                lea.l      A7, [A7 + 0xC]
  434. 0000047C  6010                     bra        +0x12 /* 0000048E */
  435. label0000047E:
  436. 0000047E  4857                     pea.l      [A7]
  437. 00000480  2F05                     move.l     -[A7], D5
  438. 00000482  3F04                     move.w     -[A7], D4
  439. 00000484  4EBA 003C                jsr        [PC + 0x3C /* 000004C2 */]
  440. 00000488  3600                     move.w     D3, D0
  441. 0000048A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  442. label0000048E:
  443. 0000048E  4A43                     tst.w      D3
  444. 00000490  6792                     beq        -0x6C /* 00000424 */
  445. 00000492  0C43 FFD5                cmpi.w     D3, 0xFFD5
  446. 00000496  6706                     beq        +0x8 /* 0000049E */
  447. 00000498  3003                     move.w     D0, D3
  448. 0000049A  48C0                     ext.l      D0
  449. 0000049C  6002                     bra        +0x4 /* 000004A0 */
  450. label0000049E:
  451. 0000049E  7000                     moveq.l    D0, 0x00
  452. label000004A0:
  453. 000004A0  4FEF 0020                lea.l      A7, [A7 + 0x20]
  454. 000004A4  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  455. 000004A8  4E75                     rts
  456. fn000004AA:
  457. 000004AA  4227                     clr.b      -[A7]
  458. 000004AC  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  459. 000004B0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  460. 000004B4  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  461. 000004B8  4EBA FBA4                jsr        [PC - 0x45C /* 0000005E */]
  462. 000004BC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  463. 000004C0  4E75                     rts
  464. fn000004C2:
  465. 000004C2  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  466. 000004C6  3A2F 0014                move.w     D5, [A7 + 0x14]
  467. 000004CA  282F 0016                move.l     D4, [A7 + 0x16]
  468. 000004CE  246F 001A                movea.l    A2, [A7 + 0x1A]
  469. 000004D2  4227                     clr.b      -[A7]
  470. 000004D4  2F0A                     move.l     -[A7], A2
  471. 000004D6  2F04                     move.l     -[A7], D4
  472. 000004D8  3F05                     move.w     -[A7], D5
  473. 000004DA  4EBA FB82                jsr        [PC - 0x47E /* 0000005E */]
  474. 000004DE  3600                     move.w     D3, D0
  475. 000004E0  0C43 FFD1                cmpi.w     D3, 0xFFD1
  476. 000004E4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  477. 000004E8  6614                     bne        +0x16 /* 000004FE */
  478. 000004EA  2F0A                     move.l     -[A7], A2
  479. 000004EC  2F04                     move.l     -[A7], D4
  480. 000004EE  3F05                     move.w     -[A7], D5
  481. 000004F0  4EBA 0100                jsr        [PC + 0x100 /* 000005F2 */]
  482. 000004F4  4A40                     tst.w      D0
  483. 000004F6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  484. 000004FA  6602                     bne        +0x4 /* 000004FE */
  485. 000004FC  7600                     moveq.l    D3, 0x00
  486. label000004FE:
  487. 000004FE  3003                     move.w     D0, D3
  488. 00000500  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  489. 00000504  4E75                     rts
  490. fn00000506:
  491. 00000506  1F3C 0001                move.b     -[A7], 0x1
  492. 0000050A  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  493. 0000050E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  494. 00000512  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  495. 00000516  4EBA FB46                jsr        [PC - 0x4BA /* 0000005E */]
  496. 0000051A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  497. 0000051E  4E75                     rts
  498. fn00000520:
  499. 00000520  2F03                     move.l     -[A7], D3
  500. 00000522  4FEF FFBA                lea.l      A7, [A7 - 0x46]
  501. 00000526  7600                     moveq.l    D3, 0x00
  502. 00000528  2B6F 0062 E8A2           move.l     [A5 - 0x175E], [A7 + 0x62]
  503. 0000052E  4857                     pea.l      [A7]
  504. 00000530  486F 0044                pea.l      [A7 + 0x44]
  505. 00000534  486F 004C                pea.l      [A7 + 0x4C]
  506. 00000538  2F2F 005A                move.l     -[A7], [A7 + 0x5A]
  507. 0000053C  4EBA 225A                jsr        [PC + 0x225A /* 00002798 */]
  508. 00000540  3600                     move.w     D3, D0
  509. 00000542  4A43                     tst.w      D3
  510. 00000544  4FEF 0010                lea.l      A7, [A7 + 0x10]
  511. 00000548  662A                     bne        +0x2C /* 00000574 */
  512. 0000054A  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  513. 0000054E  1F2F 0060                move.b     -[A7], [A7 + 0x60]
  514. 00000552  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  515. 00000556  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  516. 0000055A  3F2F 0060                move.w     -[A7], [A7 + 0x60]
  517. 0000055E  486F 0010                pea.l      [A7 + 0x10]
  518. 00000562  2F2F 0054                move.l     -[A7], [A7 + 0x54]
  519. 00000566  3F2F 005C                move.w     -[A7], [A7 + 0x5C]
  520. 0000056A  4EBA FE60                jsr        [PC - 0x1A0 /* 000003CC */]
  521. 0000056E  3600                     move.w     D3, D0
  522. 00000570  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  523. label00000574:
  524. 00000574  42AD E8A2                clr.l      [A5 - 0x175E]
  525. 00000578  3003                     move.w     D0, D3
  526. 0000057A  4FEF 0046                lea.l      A7, [A7 + 0x46]
  527. 0000057E  261F                     move.l     D3, [A7]+
  528. 00000580  4E75                     rts
  529. fn00000582:
  530. 00000582  2F03                     move.l     -[A7], D3
  531. 00000584  486D E8B4                pea.l      [A5 - 0x174C]
  532. 00000588  486D E8B8                pea.l      [A5 - 0x1748]
  533. 0000058C  4EBA 03E0                jsr        [PC + 0x3E0 /* 0000096E */]
  534. 00000590  3600                     move.w     D3, D0
  535. 00000592  4A43                     tst.w      D3
  536. 00000594  504F                     addq.w     A7, 8
  537. 00000596  6636                     bne        +0x38 /* 000005CE */
  538. 00000598  4EBA 0278                jsr        [PC + 0x278 /* 00000812 */]
  539. 0000059C  4A00                     tst.b      D0
  540. 0000059E  6722                     beq        +0x24 /* 000005C2 */
  541. 000005A0  554F                     subq.w     A7, 2
  542. 000005A2  3F2D E8B8                move.w     -[A7], [A5 - 0x1748]
  543. 000005A6  2F3C 6578 746E           move.l     -[A7], 0x6578746E /* 'extn' */
  544. 000005AC  1F3C 0001                move.b     -[A7], 0x1
  545. 000005B0  486D E8B2                pea.l      [A5 - 0x174E]
  546. 000005B4  486D E8AE                pea.l      [A5 - 0x1752]
  547. 000005B8  4EAD FFE8                jsr        [A5 - 0x18]
  548. 000005BC  301F                     move.w     D0, [A7]+
  549. 000005BE  4A40                     tst.w      D0
  550. 000005C0  670C                     beq        +0xE /* 000005CE */
  551. label000005C2:
  552. 000005C2  3B6D E8B8 E8B2           move.w     [A5 - 0x174E], [A5 - 0x1748]
  553. 000005C8  2B6D E8B4 E8AE           move.l     [A5 - 0x1752], [A5 - 0x174C]
  554. label000005CE:
  555. 000005CE  42AD E8A6                clr.l      [A5 - 0x175A]
  556. 000005D2  3003                     move.w     D0, D3
  557. 000005D4  261F                     move.l     D3, [A7]+
  558. 000005D6  4E75                     rts
  559. fn000005D8:
  560. 000005D8  2F03                     move.l     -[A7], D3
  561. 000005DA  7600                     moveq.l    D3, 0x00
  562. 000005DC  4AAD E8A6                tst.l      [A5 - 0x175A]
  563. 000005E0  6F0A                     ble        +0xC /* 000005EC */
  564. 000005E2  4EBA 005A                jsr        [PC + 0x5A /* 0000063E */]
  565. 000005E6  3600                     move.w     D3, D0
  566. 000005E8  42AD E8A6                clr.l      [A5 - 0x175A]
  567. label000005EC:
  568. 000005EC  3003                     move.w     D0, D3
  569. 000005EE  261F                     move.l     D3, [A7]+
  570. 000005F0  4E75                     rts
  571. fn000005F2:
  572. 000005F2  2F03                     move.l     -[A7], D3
  573. 000005F4  7600                     moveq.l    D3, 0x00
  574. 000005F6  302F 0008                move.w     D0, [A7 + 0x8]
  575. 000005FA  B06D E8B2                cmp.w      D0, [A5 - 0x174E]
  576. 000005FE  6636                     bne        +0x38 /* 00000636 */
  577. 00000600  4A43                     tst.w      D3
  578. 00000602  6606                     bne        +0x8 /* 0000060A */
  579. 00000604  4EBA 01A6                jsr        [PC + 0x1A6 /* 000007AC */]
  580. 00000608  3600                     move.w     D3, D0
  581. label0000060A:
  582. 0000060A  4A43                     tst.w      D3
  583. 0000060C  661E                     bne        +0x20 /* 0000062C */
  584. 0000060E  554F                     subq.w     A7, 2
  585. 00000610  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  586. 00000614  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  587. 00000618  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  588. 0000061C  2F2D E8AA                move.l     -[A7], [A5 - 0x1756]
  589. 00000620  486D F8B2                pea.l      [A5 - 0x74E]
  590. 00000624  4EAD FFC8                jsr        [A5 - 0x38]
  591. 00000628  301F                     move.w     D0, [A7]+
  592. 0000062A  3600                     move.w     D3, D0
  593. label0000062C:
  594. 0000062C  4A43                     tst.w      D3
  595. 0000062E  6608                     bne        +0xA /* 00000638 */
  596. 00000630  52AD E8A6                addq.l     [A5 - 0x175A], 1
  597. 00000634  6002                     bra        +0x4 /* 00000638 */
  598. label00000636:
  599. 00000636  76FF                     moveq.l    D3, 0xFFFFFFFF
  600. label00000638:
  601. 00000638  3003                     move.w     D0, D3
  602. 0000063A  261F                     move.l     D3, [A7]+
  603. 0000063C  4E75                     rts
  604. fn0000063E:
  605. 0000063E  48E7 1800                movem.l    -[A7], D3,D4
  606. 00000642  514F                     subq.w     A7, 8
  607. 00000644  7600                     moveq.l    D3, 0x00
  608. 00000646  78FF                     moveq.l    D4, 0xFFFFFFFF
  609. 00000648  4A43                     tst.w      D3
  610. 0000064A  6622                     bne        +0x24 /* 0000066E */
  611. 0000064C  554F                     subq.w     A7, 2
  612. 0000064E  3F2D E8B2                move.w     -[A7], [A5 - 0x174E]
  613. 00000652  2F2D E8AE                move.l     -[A7], [A5 - 0x1752]
  614. 00000656  2F2D F892                move.l     -[A7], [A5 - 0x76E]
  615. 0000065A  2F3C 5352 6179           move.l     -[A7], 0x53526179 /* 'SRay' */
  616. 00000660  2F3C 494E 4954           move.l     -[A7], 0x494E4954 /* 'INIT' */
  617. 00000666  4EAD FFA0                jsr        [A5 - 0x60]
  618. 0000066A  301F                     move.w     D0, [A7]+
  619. 0000066C  3600                     move.w     D3, D0
  620. label0000066E:
  621. 0000066E  4A43                     tst.w      D3
  622. 00000670  6632                     bne        +0x34 /* 000006A4 */
  623. 00000672  3F2D E8B2                move.w     -[A7], [A5 - 0x174E]
  624. 00000676  2F2D E8AE                move.l     -[A7], [A5 - 0x1752]
  625. 0000067A  2F2D F892                move.l     -[A7], [A5 - 0x76E]
  626. 0000067E  4EAD FFE0                jsr        [A5 - 0x20]
  627. 00000682  554F                     subq.w     A7, 2
  628. 00000684  3F2D E8B2                move.w     -[A7], [A5 - 0x174E]
  629. 00000688  2F2D E8AE                move.l     -[A7], [A5 - 0x1752]
  630. 0000068C  2F2D F892                move.l     -[A7], [A5 - 0x76E]
  631. 00000690  1F3C 0003                move.b     -[A7], 0x3
  632. 00000694  4EAD FFD8                jsr        [A5 - 0x28]
  633. 00000698  301F                     move.w     D0, [A7]+
  634. 0000069A  3800                     move.w     D4, D0
  635. 0000069C  554F                     subq.w     A7, 2
  636. 0000069E  A9AF                     syscall    ResError
  637. 000006A0  301F                     move.w     D0, [A7]+
  638. 000006A2  3600                     move.w     D3, D0
  639. label000006A4:
  640. 000006A4  4A43                     tst.w      D3
  641. 000006A6  6676                     bne        +0x78 /* 0000071E */
  642. 000006A8  594F                     subq.w     A7, 4
  643. 000006AA  2F3C 7043 6F64           move.l     -[A7], 0x70436F64 /* 'pCod' */
  644. 000006B0  3F3C 03E8                move.w     -[A7], 0x3E8
  645. 000006B4  A9A0                     syscall    GetResource
  646. 000006B6  205F                     movea.l    A0, [A7]+
  647. 000006B8  2F48 0004                move.l     [A7 + 0x4], A0
  648. 000006BC  B0FC 0000                cmpa.w     A0, 0x0
  649. 000006C0  6758                     beq        +0x5A /* 0000071A */
  650. 000006C2  554F                     subq.w     A7, 2
  651. 000006C4  486F 0006                pea.l      [A7 + 0x6]
  652. 000006C8  4EAD FF70                jsr        [A5 - 0x90]
  653. 000006CC  301F                     move.w     D0, [A7]+
  654. 000006CE  3600                     move.w     D3, D0
  655. 000006D0  4A43                     tst.w      D3
  656. 000006D2  661C                     bne        +0x1E /* 000006F0 */
  657. 000006D4  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  658. 000006D8  2F3C 7043 6F64           move.l     -[A7], 0x70436F64 /* 'pCod' */
  659. 000006DE  3F3C 03E8                move.w     -[A7], 0x3E8
  660. 000006E2  2F2D F892                move.l     -[A7], [A5 - 0x76E]
  661. 000006E6  A9AB                     syscall    AddResource
  662. 000006E8  554F                     subq.w     A7, 2
  663. 000006EA  A9AF                     syscall    ResError
  664. 000006EC  301F                     move.w     D0, [A7]+
  665. 000006EE  3600                     move.w     D3, D0
  666. label000006F0:
  667. 000006F0  4A43                     tst.w      D3
  668. 000006F2  660E                     bne        +0x10 /* 00000702 */
  669. 000006F4  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  670. 000006F8  A9B0                     syscall    WriteResource
  671. 000006FA  554F                     subq.w     A7, 2
  672. 000006FC  A9AF                     syscall    ResError
  673. 000006FE  301F                     move.w     D0, [A7]+
  674. 00000700  3600                     move.w     D3, D0
  675. label00000702:
  676. 00000702  4A43                     tst.w      D3
  677. 00000704  6618                     bne        +0x1A /* 0000071E */
  678. 00000706  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  679. 0000070A  3F3C 0054                move.w     -[A7], 0x54 /* 'T' */
  680. 0000070E  A9A7                     syscall    SetResAttrs
  681. 00000710  554F                     subq.w     A7, 2
  682. 00000712  A9AF                     syscall    ResError
  683. 00000714  301F                     move.w     D0, [A7]+
  684. 00000716  3600                     move.w     D3, D0
  685. 00000718  6004                     bra        +0x6 /* 0000071E */
  686. label0000071A:
  687. 0000071A  363C FF40                move.w     D3, 0xFF40
  688. label0000071E:
  689. 0000071E  4A43                     tst.w      D3
  690. 00000720  666E                     bne        +0x70 /* 00000790 */
  691. 00000722  594F                     subq.w     A7, 4
  692. 00000724  2F3C 494E 4954           move.l     -[A7], 0x494E4954 /* 'INIT' */
  693. 0000072A  3F3C 03E8                move.w     -[A7], 0x3E8
  694. 0000072E  A9A0                     syscall    GetResource
  695. 00000730  205F                     movea.l    A0, [A7]+
  696. 00000732  2E88                     move.l     [A7], A0
  697. 00000734  B0FC 0000                cmpa.w     A0, 0x0
  698. 00000738  6752                     beq        +0x54 /* 0000078C */
  699. 0000073A  554F                     subq.w     A7, 2
  700. 0000073C  486F 0002                pea.l      [A7 + 0x2]
  701. 00000740  4EAD FF70                jsr        [A5 - 0x90]
  702. 00000744  301F                     move.w     D0, [A7]+
  703. 00000746  3600                     move.w     D3, D0
  704. 00000748  4A43                     tst.w      D3
  705. 0000074A  661A                     bne        +0x1C /* 00000766 */
  706. 0000074C  2F17                     move.l     -[A7], [A7]
  707. 0000074E  2F3C 494E 4954           move.l     -[A7], 0x494E4954 /* 'INIT' */
  708. 00000754  3F3C 03E8                move.w     -[A7], 0x3E8
  709. 00000758  2F2D F892                move.l     -[A7], [A5 - 0x76E]
  710. 0000075C  A9AB                     syscall    AddResource
  711. 0000075E  554F                     subq.w     A7, 2
  712. 00000760  A9AF                     syscall    ResError
  713. 00000762  301F                     move.w     D0, [A7]+
  714. 00000764  3600                     move.w     D3, D0
  715. label00000766:
  716. 00000766  4A43                     tst.w      D3
  717. 00000768  660C                     bne        +0xE /* 00000776 */
  718. 0000076A  2F17                     move.l     -[A7], [A7]
  719. 0000076C  A9B0                     syscall    WriteResource
  720. 0000076E  554F                     subq.w     A7, 2
  721. 00000770  A9AF                     syscall    ResError
  722. 00000772  301F                     move.w     D0, [A7]+
  723. 00000774  3600                     move.w     D3, D0
  724. label00000776:
  725. 00000776  4A43                     tst.w      D3
  726. 00000778  6616                     bne        +0x18 /* 00000790 */
  727. 0000077A  2F17                     move.l     -[A7], [A7]
  728. 0000077C  3F3C 0014                move.w     -[A7], 0x14
  729. 00000780  A9A7                     syscall    SetResAttrs
  730. 00000782  554F                     subq.w     A7, 2
  731. 00000784  A9AF                     syscall    ResError
  732. 00000786  301F                     move.w     D0, [A7]+
  733. 00000788  3600                     move.w     D3, D0
  734. 0000078A  6004                     bra        +0x6 /* 00000790 */
  735. label0000078C:
  736. 0000078C  363C FF40                move.w     D3, 0xFF40
  737. label00000790:
  738. 00000790  0C44 FFFF                cmpi.w     D4, 0xFFFF
  739. 00000794  6704                     beq        +0x6 /* 0000079A */
  740. 00000796  3F04                     move.w     -[A7], D4
  741. 00000798  A99A                     syscall    CloseResFile
  742. label0000079A:
  743. 0000079A  0C43 FFD0                cmpi.w     D3, 0xFFD0
  744. 0000079E  6602                     bne        +0x4 /* 000007A2 */
  745. 000007A0  7600                     moveq.l    D3, 0x00
  746. label000007A2:
  747. 000007A2  3003                     move.w     D0, D3
  748. 000007A4  504F                     addq.w     A7, 8
  749. 000007A6  4CDF 0018                movem.l    D3,D4, [A7]+
  750. 000007AA  4E75                     rts
  751. fn000007AC:
  752. 000007AC  2F03                     move.l     -[A7], D3
  753. 000007AE  4FEF FF74                lea.l      A7, [A7 - 0x8C]
  754. 000007B2  7600                     moveq.l    D3, 0x00
  755. 000007B4  4A43                     tst.w      D3
  756. 000007B6  662A                     bne        +0x2C /* 000007E2 */
  757. 000007B8  206D F8AE                movea.l    A0, [A5 - 0x752]
  758. 000007BC  43D7                     lea.l      A1, [A7]
  759. 000007BE  7020                     moveq.l    D0, 0x20
  760. 000007C0  A02E                     syscall    BlockMove/BlockMoveData
  761. 000007C2  3F6D E8B2 0036           move.w     [A7 + 0x36], [A5 - 0x174E]
  762. 000007C8  2F6D E8AE 0050           move.l     [A7 + 0x50], [A5 - 0x1752]
  763. 000007CE  41D7                     lea.l      A0, [A7]
  764. 000007D0  2F48 0032                move.l     [A7 + 0x32], A0
  765. 000007D4  426F 003C                clr.w      [A7 + 0x3C]
  766. 000007D8  41EF 0020                lea.l      A0, [A7 + 0x20]
  767. 000007DC  7009                     moveq.l    D0, 0x09
  768. 000007DE  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  769. 000007E0  3600                     move.w     D3, D0
  770. label000007E2:
  771. 000007E2  4A43                     tst.w      D3
  772. 000007E4  6608                     bne        +0xA /* 000007EE */
  773. 000007E6  2B6F 0050 E8AA           move.l     [A5 - 0x1756], [A7 + 0x50]
  774. 000007EC  601A                     bra        +0x1C /* 00000808 */
  775. label000007EE:
  776. 000007EE  554F                     subq.w     A7, 2
  777. 000007F0  3F2D E8B2                move.w     -[A7], [A5 - 0x174E]
  778. 000007F4  2F2D E8AE                move.l     -[A7], [A5 - 0x1752]
  779. 000007F8  2F2D F8AE                move.l     -[A7], [A5 - 0x752]
  780. 000007FC  486D E8AA                pea.l      [A5 - 0x1756]
  781. 00000800  4EAD FFA8                jsr        [A5 - 0x58]
  782. 00000804  301F                     move.w     D0, [A7]+
  783. 00000806  3600                     move.w     D3, D0
  784. label00000808:
  785. 00000808  3003                     move.w     D0, D3
  786. 0000080A  4FEF 008C                lea.l      A7, [A7 + 0x8C]
  787. 0000080E  261F                     move.l     D3, [A7]+
  788. 00000810  4E75                     rts
  789. fn00000812:
  790. 00000812  5D4F                     subq.w     A7, 6
  791. 00000814  554F                     subq.w     A7, 2
  792. 00000816  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  793. 0000081C  486F 0008                pea.l      [A7 + 0x8]
  794. 00000820  4EAD FEB0                jsr        [A5 - 0x150]
  795. 00000824  301F                     move.w     D0, [A7]+
  796. 00000826  3E80                     move.w     [A7], D0
  797. 00000828  4A40                     tst.w      D0
  798. 0000082A  660A                     bne        +0xC /* 00000836 */
  799. 0000082C  7001                     moveq.l    D0, 0x01
  800. 0000082E  C0AF 0002                and.l      D0, [A7 + 0x2]
  801. 00000832  4A80                     tst.l      D0
  802. 00000834  6604                     bne        +0x6 /* 0000083A */
  803. label00000836:
  804. 00000836  7000                     moveq.l    D0, 0x00
  805. 00000838  6002                     bra        +0x4 /* 0000083C */
  806. label0000083A:
  807. 0000083A  7001                     moveq.l    D0, 0x01
  808. label0000083C:
  809. 0000083C  5C4F                     addq.w     A7, 6
  810. 0000083E  4E75                     rts
  811. fn00000840:
  812. 00000840  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  813. 00000844  286F 0014                movea.l    A4, [A7 + 0x14]
  814. 00000848  362F 001A                move.w     D3, [A7 + 0x1A]
  815. 0000084C  0C43 0001                cmpi.w     D3, 0x1
  816. 00000850  6D40                     blt        +0x42 /* 00000892 */
  817. 00000852  594F                     subq.w     A7, 4
  818. 00000854  2F3C B64C 7073           move.l     -[A7], 0xB64C7073
  819. 0000085A  3F2F 0020                move.w     -[A7], [A7 + 0x20]
  820. 0000085E  A9A0                     syscall    GetResource
  821. 00000860  205F                     movea.l    A0, [A7]+
  822. 00000862  2648                     movea.l    A3, A0
  823. 00000864  200B                     move.l     D0, A3
  824. 00000866  4A80                     tst.l      D0
  825. 00000868  6728                     beq        +0x2A /* 00000892 */
  826. 0000086A  2053                     movea.l    A0, [A3]
  827. 0000086C  B650                     cmp.w      D3, [A0]
  828. 0000086E  6E22                     bgt        +0x24 /* 00000892 */
  829. 00000870  2453                     movea.l    A2, [A3]
  830. 00000872  548A                     addq.l     A2, 2
  831. 00000874  6008                     bra        +0xA /* 0000087E */
  832. label00000876:
  833. 00000876  7000                     moveq.l    D0, 0x00
  834. 00000878  1012                     move.b     D0, [A2]
  835. 0000087A  5280                     addq.l     D0, 1
  836. 0000087C  D5C0                     add.l      A2, D0
  837. label0000087E:
  838. 0000087E  5343                     subq.w     D3, 1
  839. 00000880  66F4                     bne        -0xA /* 00000876 */
  840. 00000882  204A                     movea.l    A0, A2
  841. 00000884  224C                     movea.l    A1, A4
  842. 00000886  7000                     moveq.l    D0, 0x00
  843. 00000888  1012                     move.b     D0, [A2]
  844. 0000088A  5280                     addq.l     D0, 1
  845. 0000088C  A02E                     syscall    BlockMove/BlockMoveData
  846. 0000088E  7001                     moveq.l    D0, 0x01
  847. 00000890  6004                     bra        +0x6 /* 00000896 */
  848. label00000892:
  849. 00000892  4214                     clr.b      [A4]
  850. 00000894  7000                     moveq.l    D0, 0x00
  851. label00000896:
  852. 00000896  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  853. 0000089A  4E75                     rts
  854. fn0000089C:
  855. 0000089C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  856. 000008A0  286F 0014                movea.l    A4, [A7 + 0x14]
  857. 000008A4  594F                     subq.w     A7, 4
  858. 000008A6  2F3C 5354 526D           move.l     -[A7], 0x5354526D /* 'STRm' */
  859. 000008AC  3F2F 0020                move.w     -[A7], [A7 + 0x20]
  860. 000008B0  A9A0                     syscall    GetResource
  861. 000008B2  205F                     movea.l    A0, [A7]+
  862. 000008B4  2648                     movea.l    A3, A0
  863. 000008B6  200B                     move.l     D0, A3
  864. 000008B8  4A80                     tst.l      D0
  865. 000008BA  6744                     beq        +0x46 /* 00000900 */
  866. 000008BC  2453                     movea.l    A2, [A3]
  867. 000008BE  548A                     addq.l     A2, 2
  868. 000008C0  7600                     moveq.l    D3, 0x00
  869. 000008C2  6036                     bra        +0x38 /* 000008FA */
  870. label000008C4:
  871. 000008C4  3012                     move.w     D0, [A2]
  872. 000008C6  B06F 001A                cmp.w      D0, [A7 + 0x1A]
  873. 000008CA  6614                     bne        +0x16 /* 000008E0 */
  874. 000008CC  41EA 0002                lea.l      A0, [A2 + 0x2]
  875. 000008D0  224C                     movea.l    A1, A4
  876. 000008D2  7000                     moveq.l    D0, 0x00
  877. 000008D4  102A 0002                move.b     D0, [A2 + 0x2]
  878. 000008D8  5280                     addq.l     D0, 1
  879. 000008DA  A02E                     syscall    BlockMove/BlockMoveData
  880. 000008DC  7001                     moveq.l    D0, 0x01
  881. 000008DE  6024                     bra        +0x26 /* 00000904 */
  882. label000008E0:
  883. 000008E0  7000                     moveq.l    D0, 0x00
  884. 000008E2  102A 0002                move.b     D0, [A2 + 0x2]
  885. 000008E6  220A                     move.l     D1, A2
  886. 000008E8  5681                     addq.l     D1, 3
  887. 000008EA  D280                     add.l      D1, D0
  888. 000008EC  2441                     movea.l    A2, D1
  889. 000008EE  70FE                     moveq.l    D0, 0xFFFFFFFE
  890. 000008F0  220A                     move.l     D1, A2
  891. 000008F2  5281                     addq.l     D1, 1
  892. 000008F4  C280                     and.l      D1, D0
  893. 000008F6  2441                     movea.l    A2, D1
  894. 000008F8  5243                     addq.w     D3, 1
  895. label000008FA:
  896. 000008FA  2053                     movea.l    A0, [A3]
  897. 000008FC  B650                     cmp.w      D3, [A0]
  898. 000008FE  6DC4                     blt        -0x3A /* 000008C4 */
  899. label00000900:
  900. 00000900  4214                     clr.b      [A4]
  901. 00000902  7000                     moveq.l    D0, 0x00
  902. label00000904:
  903. 00000904  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  904. 00000908  4E75                     rts
  905. fn0000090A:
  906. 0000090A  48E7 1800                movem.l    -[A7], D3,D4
  907. 0000090E  182F 000C                move.b     D4, [A7 + 0xC]
  908. 00000912  7600                     moveq.l    D3, 0x00
  909. 00000914  4AAD E8BC                tst.l      [A5 - 0x1744]
  910. 00000918  662A                     bne        +0x2C /* 00000944 */
  911. 0000091A  594F                     subq.w     A7, 4
  912. 0000091C  2F3C B642 466C           move.l     -[A7], 0xB642466C
  913. 00000922  3F3C 7530                move.w     -[A7], 0x7530 /* 'u0' */
  914. 00000926  A9A0                     syscall    GetResource
  915. 00000928  205F                     movea.l    A0, [A7]+
  916. 0000092A  2B48 E8BC                move.l     [A5 - 0x1744], A0
  917. 0000092E  B0FC 0000                cmpa.w     A0, 0x0
  918. 00000932  6710                     beq        +0x12 /* 00000944 */
  919. 00000934  594F                     subq.w     A7, 4
  920. 00000936  2F2D E8BC                move.l     -[A7], [A5 - 0x1744]
  921. 0000093A  4EAD FEB8                jsr        [A5 - 0x148]
  922. 0000093E  201F                     move.l     D0, [A7]+
  923. 00000940  3B40 E8BA                move.w     [A5 - 0x1746], D0
  924. label00000944:
  925. 00000944  4AAD E8BC                tst.l      [A5 - 0x1744]
  926. 00000948  671C                     beq        +0x1E /* 00000966 */
  927. 0000094A  7000                     moveq.l    D0, 0x00
  928. 0000094C  302D E8BA                move.w     D0, [A5 - 0x1746]
  929. 00000950  7200                     moveq.l    D1, 0x00
  930. 00000952  1204                     move.b     D1, D4
  931. 00000954  B280                     cmp.l      D1, D0
  932. 00000956  6C0E                     bge        +0x10 /* 00000966 */
  933. 00000958  7000                     moveq.l    D0, 0x00
  934. 0000095A  1004                     move.b     D0, D4
  935. 0000095C  206D E8BC                movea.l    A0, [A5 - 0x1744]
  936. 00000960  2250                     movea.l    A1, [A0]
  937. 00000962  1631 0000                move.b     D3, [A1 + D0.w]
  938. label00000966:
  939. 00000966  1003                     move.b     D0, D3
  940. 00000968  4CDF 0018                movem.l    D3,D4, [A7]+
  941. 0000096C  4E75                     rts
  942. fn0000096E:
  943. 0000096E  48E7 1030                movem.l    -[A7], D3,A2,A3
  944. 00000972  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  945. 00000976  266F 0028                movea.l    A3, [A7 + 0x28]
  946. 0000097A  246F 002C                movea.l    A2, [A7 + 0x2C]
  947. 0000097E  4253                     clr.w      [A3]
  948. 00000980  4292                     clr.l      [A2]
  949. 00000982  554F                     subq.w     A7, 2
  950. 00000984  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  951. 0000098A  486F 000A                pea.l      [A7 + 0xA]
  952. 0000098E  4EAD FEB0                jsr        [A5 - 0x150]
  953. 00000992  301F                     move.w     D0, [A7]+
  954. 00000994  3600                     move.w     D3, D0
  955. 00000996  4A43                     tst.w      D3
  956. 00000998  6624                     bne        +0x26 /* 000009BE */
  957. 0000099A  7001                     moveq.l    D0, 0x01
  958. 0000099C  C0AF 0004                and.l      D0, [A7 + 0x4]
  959. 000009A0  671C                     beq        +0x1E /* 000009BE */
  960. 000009A2  554F                     subq.w     A7, 2
  961. 000009A4  3F3C 8000                move.w     -[A7], 0x8000
  962. 000009A8  2F3C 6D61 6373           move.l     -[A7], 0x6D616373 /* 'macs' */
  963. 000009AE  4227                     clr.b      -[A7]
  964. 000009B0  2F0B                     move.l     -[A7], A3
  965. 000009B2  2F0A                     move.l     -[A7], A2
  966. 000009B4  4EAD FFE8                jsr        [A5 - 0x18]
  967. 000009B8  301F                     move.w     D0, [A7]+
  968. 000009BA  3600                     move.w     D3, D0
  969. 000009BC  6002                     bra        +0x4 /* 000009C0 */
  970. label000009BE:
  971. 000009BE  76FF                     moveq.l    D3, 0xFFFFFFFF
  972. label000009C0:
  973. 000009C0  4A43                     tst.w      D3
  974. 000009C2  672A                     beq        +0x2C /* 000009EE */
  975. 000009C4  426F 000C                clr.w      [A7 + 0xC]
  976. 000009C8  554F                     subq.w     A7, 2
  977. 000009CA  3F3C 0001                move.w     -[A7], 0x1
  978. 000009CE  486F 000C                pea.l      [A7 + 0xC]
  979. 000009D2  4EAD FEA8                jsr        [A5 - 0x158]
  980. 000009D6  301F                     move.w     D0, [A7]+
  981. 000009D8  554F                     subq.w     A7, 2
  982. 000009DA  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  983. 000009DE  2F0B                     move.l     -[A7], A3
  984. 000009E0  2F0A                     move.l     -[A7], A2
  985. 000009E2  486F 000C                pea.l      [A7 + 0xC]
  986. 000009E6  4EAD FFD0                jsr        [A5 - 0x30]
  987. 000009EA  301F                     move.w     D0, [A7]+
  988. 000009EC  3600                     move.w     D3, D0
  989. label000009EE:
  990. 000009EE  3003                     move.w     D0, D3
  991. 000009F0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  992. 000009F4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  993. 000009F8  4E75                     rts
  994. fn000009FA:
  995. 000009FA  514F                     subq.w     A7, 8
  996. 000009FC  486F 0002                pea.l      [A7 + 0x2]
  997. 00000A00  486F 000A                pea.l      [A7 + 0xA]
  998. 00000A04  4EBA FF68                jsr        [PC - 0x98 /* 0000096E */]
  999. 00000A08  3F40 0008                move.w     [A7 + 0x8], D0
  1000. 00000A0C  4A40                     tst.w      D0
  1001. 00000A0E  504F                     addq.w     A7, 8
  1002. 00000A10  6704                     beq        +0x6 /* 00000A16 */
  1003. 00000A12  7000                     moveq.l    D0, 0x00
  1004. 00000A14  6006                     bra        +0x8 /* 00000A1C */
  1005. label00000A16:
  1006. 00000A16  302F 0006                move.w     D0, [A7 + 0x6]
  1007. 00000A1A  48C0                     ext.l      D0
  1008. label00000A1C:
  1009. 00000A1C  504F                     addq.w     A7, 8
  1010. 00000A1E  4E75                     rts
  1011. fn00000A20:
  1012. 00000A20  554F                     subq.w     A7, 2
  1013. 00000A22  4227                     clr.b      -[A7]
  1014. 00000A24  A99B                     syscall    SetResLoad
  1015. 00000A26  554F                     subq.w     A7, 2
  1016. 00000A28  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  1017. 00000A2C  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  1018. 00000A30  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  1019. 00000A34  1F2F 001C                move.b     -[A7], [A7 + 0x1C]
  1020. 00000A38  4EAD FFD8                jsr        [A5 - 0x28]
  1021. 00000A3C  301F                     move.w     D0, [A7]+
  1022. 00000A3E  3E80                     move.w     [A7], D0
  1023. 00000A40  1F3C 0001                move.b     -[A7], 0x1
  1024. 00000A44  A99B                     syscall    SetResLoad
  1025. 00000A46  3017                     move.w     D0, [A7]
  1026. 00000A48  544F                     addq.w     A7, 2
  1027. 00000A4A  4E75                     rts
  1028. fn00000A4C:
  1029. 00000A4C  5D4F                     subq.w     A7, 6
  1030. 00000A4E  554F                     subq.w     A7, 2
  1031. 00000A50  2F3C 6370 7574           move.l     -[A7], 0x63707574 /* 'cput' */
  1032. 00000A56  486F 0008                pea.l      [A7 + 0x8]
  1033. 00000A5A  4EAD FEB0                jsr        [A5 - 0x150]
  1034. 00000A5E  301F                     move.w     D0, [A7]+
  1035. 00000A60  3E80                     move.w     [A7], D0
  1036. 00000A62  4A40                     tst.w      D0
  1037. 00000A64  660A                     bne        +0xC /* 00000A70 */
  1038. 00000A66  0CAF 0000 0101 0002      cmpi.l     [A7 + 0x2], 0x101
  1039. 00000A6E  6404                     bcc        +0x6 /* 00000A74 */
  1040. label00000A70:
  1041. 00000A70  7000                     moveq.l    D0, 0x00
  1042. 00000A72  6002                     bra        +0x4 /* 00000A76 */
  1043. label00000A74:
  1044. 00000A74  7001                     moveq.l    D0, 0x01
  1045. label00000A76:
  1046. 00000A76  5C4F                     addq.w     A7, 6
  1047. 00000A78  4E75                     rts
  1048. fn00000A7A:
  1049. 00000A7A  2F03                     move.l     -[A7], D3
  1050. 00000A7C  594F                     subq.w     A7, 4
  1051. 00000A7E  7600                     moveq.l    D3, 0x00
  1052. 00000A80  554F                     subq.w     A7, 2
  1053. 00000A82  2F3C 786C 6174           move.l     -[A7], 0x786C6174 /* 'xlat' */
  1054. 00000A88  486F 0006                pea.l      [A7 + 0x6]
  1055. 00000A8C  4EAD FEB0                jsr        [A5 - 0x150]
  1056. 00000A90  301F                     move.w     D0, [A7]+
  1057. 00000A92  4A40                     tst.w      D0
  1058. 00000A94  6608                     bne        +0xA /* 00000A9E */
  1059. 00000A96  7001                     moveq.l    D0, 0x01
  1060. 00000A98  C097                     and.l      D0, [A7]
  1061. 00000A9A  6702                     beq        +0x4 /* 00000A9E */
  1062. 00000A9C  7601                     moveq.l    D3, 0x01
  1063. label00000A9E:
  1064. 00000A9E  1003                     move.b     D0, D3
  1065. 00000AA0  584F                     addq.w     A7, 4
  1066. 00000AA2  261F                     move.l     D3, [A7]+
  1067. 00000AA4  4E75                     rts
  1068. fn00000AA6:
  1069. 00000AA6  48E7 0430                movem.l    -[A7], D5,A2,A3
  1070. 00000AAA  266F 0010                movea.l    A3, [A7 + 0x10]
  1071. 00000AAE  7200                     moveq.l    D1, 0x00
  1072. 00000AB0  2053                     movea.l    A0, [A3]
  1073. 00000AB2  3428 0006                move.w     D2, [A0 + 0x6]
  1074. 00000AB6  48C2                     ext.l      D2
  1075. 00000AB8  5282                     addq.l     D2, 1
  1076. 00000ABA  2453                     movea.l    A2, [A3]
  1077. 00000ABC  508A                     addq.l     A2, 8
  1078. 00000ABE  603A                     bra        +0x3C /* 00000AFA */
  1079. label00000AC0:
  1080. 00000AC0  2012                     move.l     D0, [A2]
  1081. 00000AC2  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  1082. 00000AC6  661C                     bne        +0x1E /* 00000AE4 */
  1083. 00000AC8  302A 0004                move.w     D0, [A2 + 0x4]
  1084. 00000ACC  48C0                     ext.l      D0
  1085. 00000ACE  5280                     addq.l     D0, 1
  1086. 00000AD0  206F 0018                movea.l    A0, [A7 + 0x18]
  1087. 00000AD4  3080                     move.w     [A0], D0
  1088. 00000AD6  204A                     movea.l    A0, A2
  1089. 00000AD8  5C88                     addq.l     A0, 6
  1090. 00000ADA  226F 001C                movea.l    A1, [A7 + 0x1C]
  1091. 00000ADE  2288                     move.l     [A1], A0
  1092. 00000AE0  7201                     moveq.l    D1, 0x01
  1093. 00000AE2  601E                     bra        +0x20 /* 00000B02 */
  1094. label00000AE4:
  1095. 00000AE4  3A2A 0004                move.w     D5, [A2 + 0x4]
  1096. 00000AE8  48C5                     ext.l      D5
  1097. 00000AEA  5285                     addq.l     D5, 1
  1098. 00000AEC  3005                     move.w     D0, D5
  1099. 00000AEE  48C0                     ext.l      D0
  1100. 00000AF0  E588                     lsl        D0, 2
  1101. 00000AF2  204A                     movea.l    A0, A2
  1102. 00000AF4  D1C0                     add.l      A0, D0
  1103. 00000AF6  5C88                     addq.l     A0, 6
  1104. 00000AF8  2448                     movea.l    A2, A0
  1105. label00000AFA:
  1106. 00000AFA  3002                     move.w     D0, D2
  1107. 00000AFC  5342                     subq.w     D2, 1
  1108. 00000AFE  4A40                     tst.w      D0
  1109. 00000B00  66BE                     bne        -0x40 /* 00000AC0 */
  1110. label00000B02:
  1111. 00000B02  1001                     move.b     D0, D1
  1112. 00000B04  4CDF 0C20                movem.l    D5,A2,A3, [A7]+
  1113. 00000B08  4E75                     rts
  1114. fn00000B0A:
  1115. 00000B0A  48E7 0610                movem.l    -[A7], D5,D6,A3
  1116. 00000B0E  266F 0010                movea.l    A3, [A7 + 0x10]
  1117. 00000B12  7200                     moveq.l    D1, 0x00
  1118. 00000B14  206F 0014                movea.l    A0, [A7 + 0x14]
  1119. 00000B18  2050                     movea.l    A0, [A0]
  1120. 00000B1A  3428 0004                move.w     D2, [A0 + 0x4]
  1121. 00000B1E  2053                     movea.l    A0, [A3]
  1122. 00000B20  3A28 0006                move.w     D5, [A0 + 0x6]
  1123. 00000B24  48C5                     ext.l      D5
  1124. 00000B26  5285                     addq.l     D5, 1
  1125. 00000B28  2253                     movea.l    A1, [A3]
  1126. 00000B2A  5089                     addq.l     A1, 8
  1127. 00000B2C  6048                     bra        +0x4A /* 00000B76 */
  1128. label00000B2E:
  1129. 00000B2E  0C91 4943 4E23           cmpi.l     [A1], 0x49434E23 /* 'ICN#' */
  1130. 00000B34  662A                     bne        +0x2C /* 00000B60 */
  1131. 00000B36  3C29 0004                move.w     D6, [A1 + 0x4]
  1132. 00000B3A  48C6                     ext.l      D6
  1133. 00000B3C  5286                     addq.l     D6, 1
  1134. 00000B3E  2649                     movea.l    A3, A1
  1135. 00000B40  5C8B                     addq.l     A3, 6
  1136. 00000B42  6012                     bra        +0x14 /* 00000B56 */
  1137. label00000B44:
  1138. 00000B44  B453                     cmp.w      D2, [A3]
  1139. 00000B46  660C                     bne        +0xE /* 00000B54 */
  1140. 00000B48  206F 0018                movea.l    A0, [A7 + 0x18]
  1141. 00000B4C  30AB 0002                move.w     [A0], [A3 + 0x2]
  1142. 00000B50  7201                     moveq.l    D1, 0x01
  1143. 00000B52  6022                     bra        +0x24 /* 00000B76 */
  1144. label00000B54:
  1145. 00000B54  588B                     addq.l     A3, 4
  1146. label00000B56:
  1147. 00000B56  3006                     move.w     D0, D6
  1148. 00000B58  5346                     subq.w     D6, 1
  1149. 00000B5A  4A40                     tst.w      D0
  1150. 00000B5C  66E6                     bne        -0x18 /* 00000B44 */
  1151. 00000B5E  6016                     bra        +0x18 /* 00000B76 */
  1152. label00000B60:
  1153. 00000B60  3C29 0004                move.w     D6, [A1 + 0x4]
  1154. 00000B64  48C6                     ext.l      D6
  1155. 00000B66  5286                     addq.l     D6, 1
  1156. 00000B68  3006                     move.w     D0, D6
  1157. 00000B6A  48C0                     ext.l      D0
  1158. 00000B6C  E588                     lsl        D0, 2
  1159. 00000B6E  2049                     movea.l    A0, A1
  1160. 00000B70  D1C0                     add.l      A0, D0
  1161. 00000B72  5C88                     addq.l     A0, 6
  1162. 00000B74  2248                     movea.l    A1, A0
  1163. label00000B76:
  1164. 00000B76  3005                     move.w     D0, D5
  1165. 00000B78  5345                     subq.w     D5, 1
  1166. 00000B7A  4A40                     tst.w      D0
  1167. 00000B7C  6704                     beq        +0x6 /* 00000B82 */
  1168. 00000B7E  4A01                     tst.b      D1
  1169. 00000B80  67AC                     beq        -0x52 /* 00000B2E */
  1170. label00000B82:
  1171. 00000B82  1001                     move.b     D0, D1
  1172. 00000B84  4CDF 0860                movem.l    D5,D6,A3, [A7]+
  1173. 00000B88  4E75                     rts
  1174. fn00000B8A:
  1175. 00000B8A  48E7 1020                movem.l    -[A7], D3,A2
  1176. 00000B8E  246F 000C                movea.l    A2, [A7 + 0xC]
  1177. 00000B92  7600                     moveq.l    D3, 0x00
  1178. 00000B94  4EBA FEE4                jsr        [PC - 0x11C /* 00000A7A */]
  1179. 00000B98  4A00                     tst.b      D0
  1180. 00000B9A  670C                     beq        +0xE /* 00000BA8 */
  1181. 00000B9C  554F                     subq.w     A7, 2
  1182. 00000B9E  3F2A 0018                move.w     -[A7], [A2 + 0x18]
  1183. 00000BA2  7017                     moveq.l    D0, 0x17
  1184. 00000BA4  ABFC                     syscall    TranslationDispatch
  1185. 00000BA6  301F                     move.w     D0, [A7]+
  1186. label00000BA8:
  1187. 00000BA8  256F 0010 0030           move.l     [A2 + 0x30], [A7 + 0x10]
  1188. 00000BAE  256F 0014 0012           move.l     [A2 + 0x12], [A7 + 0x14]
  1189. 00000BB4  256F 0018 0038           move.l     [A2 + 0x38], [A7 + 0x18]
  1190. 00000BBA  256F 001C 0034           move.l     [A2 + 0x34], [A7 + 0x1C]
  1191. 00000BC0  42AA 001C                clr.l      [A2 + 0x1C]
  1192. 00000BC4  204A                     movea.l    A0, A2
  1193. 00000BC6  7025                     moveq.l    D0, 0x25
  1194. 00000BC8  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1195. 00000BCA  3600                     move.w     D3, D0
  1196. 00000BCC  204A                     movea.l    A0, A2
  1197. 00000BCE  702B                     moveq.l    D0, 0x2B
  1198. 00000BD0  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1199. 00000BD2  3003                     move.w     D0, D3
  1200. 00000BD4  4CDF 0408                movem.l    D3,A2, [A7]+
  1201. 00000BD8  4E75                     rts
  1202. fn00000BDA:
  1203. 00000BDA  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  1204. 00000BDE  4FEF FF96                lea.l      A7, [A7 - 0x6A]
  1205. 00000BE2  286F 0086                movea.l    A4, [A7 + 0x86]
  1206. 00000BE6  7800                     moveq.l    D4, 0x00
  1207. 00000BE8  3F6F 008A 001A           move.w     [A7 + 0x1A], [A7 + 0x8A]
  1208. 00000BEE  4857                     pea.l      [A7]
  1209. 00000BF0  2F0C                     move.l     -[A7], A4
  1210. 00000BF2  2F2F 008A                move.l     -[A7], [A7 + 0x8A]
  1211. 00000BF6  4EBA FF12                jsr        [PC - 0xEE /* 00000B0A */]
  1212. 00000BFA  4A00                     tst.b      D0
  1213. 00000BFC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1214. 00000C00  6766                     beq        +0x68 /* 00000C68 */
  1215. 00000C02  7600                     moveq.l    D3, 0x00
  1216. 00000C04  605C                     bra        +0x5E /* 00000C62 */
  1217. label00000C06:
  1218. 00000C06  594F                     subq.w     A7, 4
  1219. 00000C08  700A                     moveq.l    D0, 0x0A
  1220. 00000C0A  C1C3                     muls.w     D0, D3
  1221. 00000C0C  41ED F9B4                lea.l      A0, [A5 - 0x64C]
  1222. 00000C10  2F30 0800                move.l     -[A7], [A0 + D0]
  1223. 00000C14  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  1224. 00000C18  A81F                     syscall    Get1Resource
  1225. 00000C1A  205F                     movea.l    A0, [A7]+
  1226. 00000C1C  2448                     movea.l    A2, A0
  1227. 00000C1E  200A                     move.l     D0, A2
  1228. 00000C20  4A80                     tst.l      D0
  1229. 00000C22  673C                     beq        +0x3E /* 00000C60 */
  1230. 00000C24  204A                     movea.l    A0, A2
  1231. 00000C26  A029                     syscall    HLock
  1232. 00000C28  42AF 001E                clr.l      [A7 + 0x1E]
  1233. 00000C2C  2F52 0022                move.l     [A7 + 0x22], [A2]
  1234. 00000C30  700A                     moveq.l    D0, 0x0A
  1235. 00000C32  C1C3                     muls.w     D0, D3
  1236. 00000C34  47ED F9B4                lea.l      A3, [A5 - 0x64C]
  1237. 00000C38  D7C0                     add.l      A3, D0
  1238. 00000C3A  2F6B 0004 0026           move.l     [A7 + 0x26], [A3 + 0x4]
  1239. 00000C40  1F6B 0008 002F           move.b     [A7 + 0x2F], [A3 + 0x8]
  1240. 00000C46  2054                     movea.l    A0, [A4]
  1241. 00000C48  2F50 003A                move.l     [A7 + 0x3A], [A0]
  1242. 00000C4C  2F6F 008C 0036           move.l     [A7 + 0x36], [A7 + 0x8C]
  1243. 00000C52  41EF 0002                lea.l      A0, [A7 + 0x2]
  1244. 00000C56  7022                     moveq.l    D0, 0x22
  1245. 00000C58  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1246. 00000C5A  3800                     move.w     D4, D0
  1247. 00000C5C  2F0A                     move.l     -[A7], A2
  1248. 00000C5E  A9A3                     syscall    ReleaseResource
  1249. label00000C60:
  1250. 00000C60  5243                     addq.w     D3, 1
  1251. label00000C62:
  1252. 00000C62  0C43 0006                cmpi.w     D3, 0x6
  1253. 00000C66  6D9E                     blt        -0x60 /* 00000C06 */
  1254. label00000C68:
  1255. 00000C68  41EF 0002                lea.l      A0, [A7 + 0x2]
  1256. 00000C6C  702B                     moveq.l    D0, 0x2B
  1257. 00000C6E  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1258. 00000C70  3004                     move.w     D0, D4
  1259. 00000C72  4FEF 006A                lea.l      A7, [A7 + 0x6A]
  1260. 00000C76  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1261. 00000C7A  4E75                     rts
  1262. fn00000C7C:
  1263. 00000C7C  48E7 1800                movem.l    -[A7], D3,D4
  1264. 00000C80  4FEF FF98                lea.l      A7, [A7 - 0x68]
  1265. 00000C84  7600                     moveq.l    D3, 0x00
  1266. 00000C86  7801                     moveq.l    D4, 0x01
  1267. 00000C88  3F6F 0078 0018           move.w     [A7 + 0x18], [A7 + 0x78]
  1268. 00000C8E  42AF 001C                clr.l      [A7 + 0x1C]
  1269. 00000C92  2F6F 0074 0020           move.l     [A7 + 0x20], [A7 + 0x74]
  1270. 00000C98  2F7C 0000 0100 0024      move.l     [A7 + 0x24], 0x100
  1271. 00000CA0  1F7C FFFF 002D           move.b     [A7 + 0x2D], 0xFF
  1272. 00000CA6  2F7C 7061 756C 0038      move.l     [A7 + 0x38], 0x7061756C /* 'paul' */
  1273. 00000CAE  2F6F 007A 0034           move.l     [A7 + 0x34], [A7 + 0x7A]
  1274. 00000CB4  4EBA FDC4                jsr        [PC - 0x23C /* 00000A7A */]
  1275. 00000CB8  4A00                     tst.b      D0
  1276. 00000CBA  670E                     beq        +0x10 /* 00000CCA */
  1277. 00000CBC  554F                     subq.w     A7, 2
  1278. 00000CBE  486F 0002                pea.l      [A7 + 0x2]
  1279. 00000CC2  702B                     moveq.l    D0, 0x2B
  1280. 00000CC4  ABFC                     syscall    TranslationDispatch
  1281. 00000CC6  101F                     move.b     D0, [A7]+
  1282. 00000CC8  1800                     move.b     D4, D0
  1283. label00000CCA:
  1284. 00000CCA  4A04                     tst.b      D4
  1285. 00000CCC  6708                     beq        +0xA /* 00000CD6 */
  1286. 00000CCE  41D7                     lea.l      A0, [A7]
  1287. 00000CD0  7022                     moveq.l    D0, 0x22
  1288. 00000CD2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1289. 00000CD4  3600                     move.w     D3, D0
  1290. label00000CD6:
  1291. 00000CD6  41D7                     lea.l      A0, [A7]
  1292. 00000CD8  702B                     moveq.l    D0, 0x2B
  1293. 00000CDA  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1294. 00000CDC  3003                     move.w     D0, D3
  1295. 00000CDE  4FEF 0068                lea.l      A7, [A7 + 0x68]
  1296. 00000CE2  4CDF 0018                movem.l    D3,D4, [A7]+
  1297. 00000CE6  4E75                     rts
  1298. fn00000CE8:
  1299. 00000CE8  2F03                     move.l     -[A7], D3
  1300. 00000CEA  4FEF FF72                lea.l      A7, [A7 - 0x8E]
  1301. 00000CEE  7600                     moveq.l    D3, 0x00
  1302. 00000CF0  4A43                     tst.w      D3
  1303. 00000CF2  6620                     bne        +0x22 /* 00000D14 */
  1304. 00000CF4  42AF 0026                clr.l      [A7 + 0x26]
  1305. 00000CF8  3F6F 0096 002A           move.w     [A7 + 0x2A], [A7 + 0x96]
  1306. 00000CFE  41D7                     lea.l      A0, [A7]
  1307. 00000D00  2F48 0034                move.l     [A7 + 0x34], A0
  1308. 00000D04  7014                     moveq.l    D0, 0x14
  1309. 00000D06  2F40 0038                move.l     [A7 + 0x38], D0
  1310. 00000D0A  41EF 0014                lea.l      A0, [A7 + 0x14]
  1311. 00000D0E  7030                     moveq.l    D0, 0x30
  1312. 00000D10  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1313. 00000D12  3600                     move.w     D3, D0
  1314. label00000D14:
  1315. 00000D14  4A43                     tst.w      D3
  1316. 00000D16  6610                     bne        +0x12 /* 00000D28 */
  1317. 00000D18  082F 0004 0004           btst.b     [A7 + 0x4], 0x4
  1318. 00000D1E  6604                     bne        +0x6 /* 00000D24 */
  1319. 00000D20  70FF                     moveq.l    D0, 0xFFFFFFFF
  1320. 00000D22  6002                     bra        +0x4 /* 00000D26 */
  1321. label00000D24:
  1322. 00000D24  7000                     moveq.l    D0, 0x00
  1323. label00000D26:
  1324. 00000D26  3600                     move.w     D3, D0
  1325. label00000D28:
  1326. 00000D28  4A43                     tst.w      D3
  1327. 00000D2A  6704                     beq        +0x6 /* 00000D30 */
  1328. 00000D2C  7000                     moveq.l    D0, 0x00
  1329. 00000D2E  6002                     bra        +0x4 /* 00000D32 */
  1330. label00000D30:
  1331. 00000D30  7001                     moveq.l    D0, 0x01
  1332. label00000D32:
  1333. 00000D32  4FEF 008E                lea.l      A7, [A7 + 0x8E]
  1334. 00000D36  261F                     move.l     D3, [A7]+
  1335. 00000D38  4E75                     rts
  1336. fn00000D3A:
  1337. 00000D3A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1338. 00000D3E  4FEF FF90                lea.l      A7, [A7 - 0x70]
  1339. 00000D42  3C2F 0098                move.w     D6, [A7 + 0x98]
  1340. 00000D46  282F 009A                move.l     D4, [A7 + 0x9A]
  1341. 00000D4A  246F 009E                movea.l    A2, [A7 + 0x9E]
  1342. 00000D4E  2C6F 00A6                movea.l    A6, [A7 + 0xA6]
  1343. 00000D52  7600                     moveq.l    D3, 0x00
  1344. 00000D54  3F46 001E                move.w     [A7 + 0x1E], D6
  1345. 00000D58  42AF 001A                clr.l      [A7 + 0x1A]
  1346. 00000D5C  41EF 0008                lea.l      A0, [A7 + 0x8]
  1347. 00000D60  7020                     moveq.l    D0, 0x20
  1348. 00000D62  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1349. 00000D64  3600                     move.w     D3, D0
  1350. 00000D66  4A43                     tst.w      D3
  1351. 00000D68  6618                     bne        +0x1A /* 00000D82 */
  1352. 00000D6A  2F0E                     move.l     -[A7], A6
  1353. 00000D6C  2F2F 00A6                move.l     -[A7], [A7 + 0xA6]
  1354. 00000D70  2F0A                     move.l     -[A7], A2
  1355. 00000D72  2F04                     move.l     -[A7], D4
  1356. 00000D74  486F 0018                pea.l      [A7 + 0x18]
  1357. 00000D78  4EBA FE10                jsr        [PC - 0x1F0 /* 00000B8A */]
  1358. 00000D7C  3600                     move.w     D3, D0
  1359. 00000D7E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1360. label00000D82:
  1361. 00000D82  4A43                     tst.w      D3
  1362. 00000D84  6600 0124                bne        +0x126 /* 00000EAA */
  1363. 00000D88  1F3C 0001                move.b     -[A7], 0x1
  1364. 00000D8C  2F0A                     move.l     -[A7], A2
  1365. 00000D8E  2F04                     move.l     -[A7], D4
  1366. 00000D90  3F06                     move.w     -[A7], D6
  1367. 00000D92  4EBA FC8C                jsr        [PC - 0x374 /* 00000A20 */]
  1368. 00000D96  3A00                     move.w     D5, D0
  1369. 00000D98  0C45 FFFF                cmpi.w     D5, 0xFFFF
  1370. 00000D9C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1371. 00000DA0  6700 0100                beq        +0x102 /* 00000EA2 */
  1372. 00000DA4  203C 0000 0100           move.l     D0, 0x100
  1373. 00000DAA  A31E                     syscall    NewPtrClear, flags=3
  1374. 00000DAC  2848                     movea.l    A4, A0
  1375. 00000DAE  200C                     move.l     D0, A4
  1376. 00000DB0  4A80                     tst.l      D0
  1377. 00000DB2  6700 00DE                beq        +0xE0 /* 00000E92 */
  1378. 00000DB6  7C00                     moveq.l    D6, 0x00
  1379. 00000DB8  7E00                     moveq.l    D7, 0x00
  1380. 00000DBA  554F                     subq.w     A7, 2
  1381. 00000DBC  2F3C 424E 444C           move.l     -[A7], 0x424E444C /* 'BNDL' */
  1382. 00000DC2  A80D                     syscall    Count1Resources
  1383. 00000DC4  301F                     move.w     D0, [A7]+
  1384. 00000DC6  3F40 0002                move.w     [A7 + 0x2], D0
  1385. 00000DCA  7801                     moveq.l    D4, 0x01
  1386. 00000DCC  6000 00A4                bra        +0xA6 /* 00000E72 */
  1387. label00000DD0:
  1388. 00000DD0  594F                     subq.w     A7, 4
  1389. 00000DD2  2F3C 424E 444C           move.l     -[A7], 0x424E444C /* 'BNDL' */
  1390. 00000DD8  3F04                     move.w     -[A7], D4
  1391. 00000DDA  A80E                     syscall    Get1IndResource/Get1IxResource
  1392. 00000DDC  205F                     movea.l    A0, [A7]+
  1393. 00000DDE  2448                     movea.l    A2, A0
  1394. 00000DE0  200A                     move.l     D0, A2
  1395. 00000DE2  4A80                     tst.l      D0
  1396. 00000DE4  6700 008A                beq        +0x8C /* 00000E70 */
  1397. 00000DE8  204A                     movea.l    A0, A2
  1398. 00000DEA  A029                     syscall    HLock
  1399. 00000DEC  486F 0004                pea.l      [A7 + 0x4]
  1400. 00000DF0  486F 0004                pea.l      [A7 + 0x4]
  1401. 00000DF4  2F3C 4652 4546           move.l     -[A7], 0x46524546 /* 'FREF' */
  1402. 00000DFA  2F0A                     move.l     -[A7], A2
  1403. 00000DFC  4EBA FCA8                jsr        [PC - 0x358 /* 00000AA6 */]
  1404. 00000E00  4A00                     tst.b      D0
  1405. 00000E02  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1406. 00000E06  6764                     beq        +0x66 /* 00000E6C */
  1407. 00000E08  605A                     bra        +0x5C /* 00000E64 */
  1408. label00000E0A:
  1409. 00000E0A  594F                     subq.w     A7, 4
  1410. 00000E0C  2F3C 4652 4546           move.l     -[A7], 0x46524546 /* 'FREF' */
  1411. 00000E12  206F 000C                movea.l    A0, [A7 + 0xC]
  1412. 00000E16  3F28 0002                move.w     -[A7], [A0 + 0x2]
  1413. 00000E1A  A81F                     syscall    Get1Resource
  1414. 00000E1C  205F                     movea.l    A0, [A7]+
  1415. 00000E1E  2648                     movea.l    A3, A0
  1416. 00000E20  200B                     move.l     D0, A3
  1417. 00000E22  4A80                     tst.l      D0
  1418. 00000E24  673A                     beq        +0x3C /* 00000E60 */
  1419. 00000E26  204B                     movea.l    A0, A3
  1420. 00000E28  A029                     syscall    HLock
  1421. 00000E2A  2F0E                     move.l     -[A7], A6
  1422. 00000E2C  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  1423. 00000E30  2F0B                     move.l     -[A7], A3
  1424. 00000E32  2F0A                     move.l     -[A7], A2
  1425. 00000E34  4EBA FDA4                jsr        [PC - 0x25C /* 00000BDA */]
  1426. 00000E38  3C00                     move.w     D6, D0
  1427. 00000E3A  4A43                     tst.w      D3
  1428. 00000E3C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1429. 00000E40  6602                     bne        +0x4 /* 00000E44 */
  1430. 00000E42  3606                     move.w     D3, D6
  1431. label00000E44:
  1432. 00000E44  4A43                     tst.w      D3
  1433. 00000E46  6614                     bne        +0x16 /* 00000E5C */
  1434. 00000E48  0C47 0040                cmpi.w     D7, 0x40 /* '@' */
  1435. 00000E4C  6C0E                     bge        +0x10 /* 00000E5C */
  1436. 00000E4E  2053                     movea.l    A0, [A3]
  1437. 00000E50  3007                     move.w     D0, D7
  1438. 00000E52  5247                     addq.w     D7, 1
  1439. 00000E54  48C0                     ext.l      D0
  1440. 00000E56  E588                     lsl        D0, 2
  1441. 00000E58  2990 0800                move.l     [A4 + D0], [A0]
  1442. label00000E5C:
  1443. 00000E5C  2F0B                     move.l     -[A7], A3
  1444. 00000E5E  A9A3                     syscall    ReleaseResource
  1445. label00000E60:
  1446. 00000E60  58AF 0004                addq.l     [A7 + 0x4], 4
  1447. label00000E64:
  1448. 00000E64  3017                     move.w     D0, [A7]
  1449. 00000E66  5357                     subq.w     [A7], 1
  1450. 00000E68  4A40                     tst.w      D0
  1451. 00000E6A  669E                     bne        -0x60 /* 00000E0A */
  1452. label00000E6C:
  1453. 00000E6C  2F0A                     move.l     -[A7], A2
  1454. 00000E6E  A9A3                     syscall    ReleaseResource
  1455. label00000E70:
  1456. 00000E70  5244                     addq.w     D4, 1
  1457. label00000E72:
  1458. 00000E72  B86F 0002                cmp.w      D4, [A7 + 0x2]
  1459. 00000E76  6F00 FF58                ble        -0xA6 /* 00000DD0 */
  1460. 00000E7A  4A43                     tst.w      D3
  1461. 00000E7C  661E                     bne        +0x20 /* 00000E9C */
  1462. 00000E7E  2F0E                     move.l     -[A7], A6
  1463. 00000E80  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  1464. 00000E84  2F0C                     move.l     -[A7], A4
  1465. 00000E86  4EBA FDF4                jsr        [PC - 0x20C /* 00000C7C */]
  1466. 00000E8A  3600                     move.w     D3, D0
  1467. 00000E8C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1468. 00000E90  600A                     bra        +0xC /* 00000E9C */
  1469. label00000E92:
  1470. 00000E92  554F                     subq.w     A7, 2
  1471. 00000E94  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  1472. 00000E98  301F                     move.w     D0, [A7]+
  1473. 00000E9A  3600                     move.w     D3, D0
  1474. label00000E9C:
  1475. 00000E9C  3F05                     move.w     -[A7], D5
  1476. 00000E9E  A99A                     syscall    CloseResFile
  1477. 00000EA0  6008                     bra        +0xA /* 00000EAA */
  1478. label00000EA2:
  1479. 00000EA2  554F                     subq.w     A7, 2
  1480. 00000EA4  A9AF                     syscall    ResError
  1481. 00000EA6  301F                     move.w     D0, [A7]+
  1482. 00000EA8  3600                     move.w     D3, D0
  1483. label00000EAA:
  1484. 00000EAA  3003                     move.w     D0, D3
  1485. 00000EAC  4FEF 0070                lea.l      A7, [A7 + 0x70]
  1486. 00000EB0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1487. 00000EB4  4E75                     rts
  1488. fn00000EB6:
  1489. 00000EB6  2F03                     move.l     -[A7], D3
  1490. 00000EB8  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  1491. 00000EBC  3F6F 0082 0016           move.w     [A7 + 0x16], [A7 + 0x82]
  1492. 00000EC2  2F6F 0084 0030           move.l     [A7 + 0x30], [A7 + 0x84]
  1493. 00000EC8  2F6F 0088 0012           move.l     [A7 + 0x12], [A7 + 0x88]
  1494. 00000ECE  1F6F 008C 001B           move.b     [A7 + 0x1B], [A7 + 0x8C]
  1495. 00000ED4  42AF 001C                clr.l      [A7 + 0x1C]
  1496. 00000ED8  41D7                     lea.l      A0, [A7]
  1497. 00000EDA  A200                     syscall    OpenSlot, flags=2
  1498. 00000EDC  3600                     move.w     D3, D0
  1499. 00000EDE  4A43                     tst.w      D3
  1500. 00000EE0  6704                     beq        +0x6 /* 00000EE6 */
  1501. 00000EE2  7000                     moveq.l    D0, 0x00
  1502. 00000EE4  6006                     bra        +0x8 /* 00000EEC */
  1503. label00000EE6:
  1504. 00000EE6  302F 0018                move.w     D0, [A7 + 0x18]
  1505. 00000EEA  48C0                     ext.l      D0
  1506. label00000EEC:
  1507. 00000EEC  206F 008E                movea.l    A0, [A7 + 0x8E]
  1508. 00000EF0  3080                     move.w     [A0], D0
  1509. 00000EF2  3003                     move.w     D0, D3
  1510. 00000EF4  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  1511. 00000EF8  261F                     move.l     D3, [A7]+
  1512. 00000EFA  4E75                     rts
  1513. fn00000EFC:
  1514. 00000EFC  2F03                     move.l     -[A7], D3
  1515. 00000EFE  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  1516. 00000F02  3F6F 0082 0016           move.w     [A7 + 0x16], [A7 + 0x82]
  1517. 00000F08  2F6F 0084 0030           move.l     [A7 + 0x30], [A7 + 0x84]
  1518. 00000F0E  2F6F 0088 0012           move.l     [A7 + 0x12], [A7 + 0x88]
  1519. 00000F14  1F6F 008C 001B           move.b     [A7 + 0x1B], [A7 + 0x8C]
  1520. 00000F1A  42AF 001C                clr.l      [A7 + 0x1C]
  1521. 00000F1E  41D7                     lea.l      A0, [A7]
  1522. 00000F20  A20A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=2
  1523. 00000F22  3600                     move.w     D3, D0
  1524. 00000F24  4A43                     tst.w      D3
  1525. 00000F26  6704                     beq        +0x6 /* 00000F2C */
  1526. 00000F28  7000                     moveq.l    D0, 0x00
  1527. 00000F2A  6006                     bra        +0x8 /* 00000F32 */
  1528. label00000F2C:
  1529. 00000F2C  302F 0018                move.w     D0, [A7 + 0x18]
  1530. 00000F30  48C0                     ext.l      D0
  1531. label00000F32:
  1532. 00000F32  206F 008E                movea.l    A0, [A7 + 0x8E]
  1533. 00000F36  3080                     move.w     [A0], D0
  1534. 00000F38  3003                     move.w     D0, D3
  1535. 00000F3A  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  1536. 00000F3E  261F                     move.l     D3, [A7]+
  1537. 00000F40  4E75                     rts
  1538. fn00000F42:
  1539. 00000F42  48E7 1C00                movem.l    -[A7], D3,D4,D5
  1540. 00000F46  4FEF FF7C                lea.l      A7, [A7 - 0x84]
  1541. 00000F4A  3A2F 0094                move.w     D5, [A7 + 0x94]
  1542. 00000F4E  7800                     moveq.l    D4, 0x00
  1543. 00000F50  7600                     moveq.l    D3, 0x00
  1544. 00000F52  4A2D E54D                tst.b      [A5 - 0x1AB3]
  1545. 00000F56  6748                     beq        +0x4A /* 00000FA0 */
  1546. 00000F58  554F                     subq.w     A7, 2
  1547. 00000F5A  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  1548. 00000F60  486F 000C                pea.l      [A7 + 0xC]
  1549. 00000F64  4EAD FEB0                jsr        [A5 - 0x150]
  1550. 00000F68  301F                     move.w     D0, [A7]+
  1551. 00000F6A  3600                     move.w     D3, D0
  1552. 00000F6C  4A43                     tst.w      D3
  1553. 00000F6E  662C                     bne        +0x2E /* 00000F9C */
  1554. 00000F70  7001                     moveq.l    D0, 0x01
  1555. 00000F72  C0AF 0006                and.l      D0, [A7 + 0x6]
  1556. 00000F76  6724                     beq        +0x26 /* 00000F9C */
  1557. 00000F78  554F                     subq.w     A7, 2
  1558. 00000F7A  3F05                     move.w     -[A7], D5
  1559. 00000F7C  2F3C 6D61 6373           move.l     -[A7], 0x6D616373 /* 'macs' */
  1560. 00000F82  4227                     clr.b      -[A7]
  1561. 00000F84  486F 000E                pea.l      [A7 + 0xE]
  1562. 00000F88  486F 000E                pea.l      [A7 + 0xE]
  1563. 00000F8C  4EAD FFE8                jsr        [A5 - 0x18]
  1564. 00000F90  301F                     move.w     D0, [A7]+
  1565. 00000F92  3600                     move.w     D3, D0
  1566. 00000F94  4A43                     tst.w      D3
  1567. 00000F96  660A                     bne        +0xC /* 00000FA2 */
  1568. 00000F98  7801                     moveq.l    D4, 0x01
  1569. 00000F9A  6006                     bra        +0x8 /* 00000FA2 */
  1570. label00000F9C:
  1571. 00000F9C  76FF                     moveq.l    D3, 0xFFFFFFFF
  1572. 00000F9E  6002                     bra        +0x4 /* 00000FA2 */
  1573. label00000FA0:
  1574. 00000FA0  76FF                     moveq.l    D3, 0xFFFFFFFF
  1575. label00000FA2:
  1576. 00000FA2  4A43                     tst.w      D3
  1577. 00000FA4  6720                     beq        +0x22 /* 00000FC6 */
  1578. 00000FA6  42AF 001C                clr.l      [A7 + 0x1C]
  1579. 00000FAA  3F45 0020                move.w     [A7 + 0x20], D5
  1580. 00000FAE  426F 0026                clr.w      [A7 + 0x26]
  1581. 00000FB2  41EF 000A                lea.l      A0, [A7 + 0xA]
  1582. 00000FB6  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  1583. 00000FB8  3600                     move.w     D3, D0
  1584. 00000FBA  4A43                     tst.w      D3
  1585. 00000FBC  6608                     bne        +0xA /* 00000FC6 */
  1586. 00000FBE  4AAF 0064                tst.l      [A7 + 0x64]
  1587. 00000FC2  6702                     beq        +0x4 /* 00000FC6 */
  1588. 00000FC4  7801                     moveq.l    D4, 0x01
  1589. label00000FC6:
  1590. 00000FC6  1004                     move.b     D0, D4
  1591. 00000FC8  4FEF 0084                lea.l      A7, [A7 + 0x84]
  1592. 00000FCC  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  1593. 00000FD0  4E75                     rts
  1594. fn00000FD2:
  1595. 00000FD2  4FEF FF84                lea.l      A7, [A7 - 0x7C]
  1596. 00000FD6  2F6F 0082 0014           move.l     [A7 + 0x14], [A7 + 0x82]
  1597. 00000FDC  3F6F 0080 0018           move.w     [A7 + 0x18], [A7 + 0x80]
  1598. 00000FE2  426F 001E                clr.w      [A7 + 0x1E]
  1599. 00000FE6  41EF 0002                lea.l      A0, [A7 + 0x2]
  1600. 00000FEA  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  1601. 00000FEC  3E80                     move.w     [A7], D0
  1602. 00000FEE  4A40                     tst.w      D0
  1603. 00000FF0  6618                     bne        +0x1A /* 0000100A */
  1604. 00000FF2  082F 0007 0029           btst.b     [A7 + 0x29], 0x7
  1605. 00000FF8  660C                     bne        +0xE /* 00001006 */
  1606. 00000FFA  082F 0007 0028           btst.b     [A7 + 0x28], 0x7
  1607. 00001000  6604                     bne        +0x6 /* 00001006 */
  1608. 00001002  7000                     moveq.l    D0, 0x00
  1609. 00001004  6002                     bra        +0x4 /* 00001008 */
  1610. label00001006:
  1611. 00001006  7001                     moveq.l    D0, 0x01
  1612. label00001008:
  1613. 00001008  6002                     bra        +0x4 /* 0000100C */
  1614. label0000100A:
  1615. 0000100A  7001                     moveq.l    D0, 0x01
  1616. label0000100C:
  1617. 0000100C  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  1618. 00001010  4E75                     rts
  1619. fn00001012:
  1620. 00001012  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  1621. 00001016  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  1622. 0000101A  266F 0094                movea.l    A3, [A7 + 0x94]
  1623. 0000101E  246F 0098                movea.l    A2, [A7 + 0x98]
  1624. 00001022  2F6F 0090 0012           move.l     [A7 + 0x12], [A7 + 0x90]
  1625. 00001028  3F6F 008E 0016           move.w     [A7 + 0x16], [A7 + 0x8E]
  1626. 0000102E  426F 001C                clr.w      [A7 + 0x1C]
  1627. 00001032  41D7                     lea.l      A0, [A7]
  1628. 00001034  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  1629. 00001036  3600                     move.w     D3, D0
  1630. 00001038  4A43                     tst.w      D3
  1631. 0000103A  661E                     bne        +0x20 /* 0000105A */
  1632. 0000103C  7000                     moveq.l    D0, 0x00
  1633. 0000103E  302F 003E                move.w     D0, [A7 + 0x3E]
  1634. 00001042  222F 0030                move.l     D1, [A7 + 0x30]
  1635. 00001046  4EAD FB78                jsr        [A5 - 0x488]
  1636. 0000104A  2600                     move.l     D3, D0
  1637. 0000104C  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  1638. 00001050  4EAD FC88                jsr        [A5 - 0x378]
  1639. 00001054  2800                     move.l     D4, D0
  1640. 00001056  584F                     addq.w     A7, 4
  1641. 00001058  600E                     bra        +0x10 /* 00001068 */
  1642. label0000105A:
  1643. 0000105A  7600                     moveq.l    D3, 0x00
  1644. 0000105C  4878 0400                push.l     0x400
  1645. 00001060  4EAD FC88                jsr        [A5 - 0x378]
  1646. 00001064  2800                     move.l     D4, D0
  1647. 00001066  584F                     addq.w     A7, 4
  1648. label00001068:
  1649. 00001068  200B                     move.l     D0, A3
  1650. 0000106A  6702                     beq        +0x4 /* 0000106E */
  1651. 0000106C  2684                     move.l     [A3], D4
  1652. label0000106E:
  1653. 0000106E  200A                     move.l     D0, A2
  1654. 00001070  6702                     beq        +0x4 /* 00001074 */
  1655. 00001072  2483                     move.l     [A2], D3
  1656. label00001074:
  1657. 00001074  B883                     cmp.l      D4, D3
  1658. 00001076  6E04                     bgt        +0x6 /* 0000107C */
  1659. 00001078  7000                     moveq.l    D0, 0x00
  1660. 0000107A  6002                     bra        +0x4 /* 0000107E */
  1661. label0000107C:
  1662. 0000107C  7001                     moveq.l    D0, 0x01
  1663. label0000107E:
  1664. 0000107E  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  1665. 00001082  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  1666. 00001086  4E75                     rts
  1667. fn00001088:
  1668. 00001088  48E7 0038                movem.l    -[A7], A2,A3,A4
  1669. 0000108C  246F 0010                movea.l    A2, [A7 + 0x10]
  1670. 00001090  2052                     movea.l    A0, [A2]
  1671. 00001092  2668 003C                movea.l    A3, [A0 + 0x3C]
  1672. 00001096  600A                     bra        +0xC /* 000010A2 */
  1673. label00001098:
  1674. 00001098  2053                     movea.l    A0, [A3]
  1675. 0000109A  2850                     movea.l    A4, [A0]
  1676. 0000109C  204B                     movea.l    A0, A3
  1677. 0000109E  A023                     syscall    DisposHandle/DisposeHandle
  1678. 000010A0  264C                     movea.l    A3, A4
  1679. label000010A2:
  1680. 000010A2  200B                     move.l     D0, A3
  1681. 000010A4  4A80                     tst.l      D0
  1682. 000010A6  66F0                     bne        -0xE /* 00001098 */
  1683. 000010A8  2052                     movea.l    A0, [A2]
  1684. 000010AA  4AA8 0070                tst.l      [A0 + 0x70]
  1685. 000010AE  6708                     beq        +0xA /* 000010B8 */
  1686. 000010B0  2052                     movea.l    A0, [A2]
  1687. 000010B2  2068 0070                movea.l    A0, [A0 + 0x70]
  1688. 000010B6  A01F                     syscall    DisposPtr/DisposePtr
  1689. label000010B8:
  1690. 000010B8  2052                     movea.l    A0, [A2]
  1691. 000010BA  4AA8 0078                tst.l      [A0 + 0x78]
  1692. 000010BE  6708                     beq        +0xA /* 000010C8 */
  1693. 000010C0  2052                     movea.l    A0, [A2]
  1694. 000010C2  2068 0078                movea.l    A0, [A0 + 0x78]
  1695. 000010C6  A01F                     syscall    DisposPtr/DisposePtr
  1696. label000010C8:
  1697. 000010C8  204A                     movea.l    A0, A2
  1698. 000010CA  A023                     syscall    DisposHandle/DisposeHandle
  1699. 000010CC  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1700. 000010D0  4E75                     rts
  1701. fn000010D2:
  1702. 000010D2  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  1703. 000010D6  554F                     subq.w     A7, 2
  1704. 000010D8  286F 002C                movea.l    A4, [A7 + 0x2C]
  1705. 000010DC  7600                     moveq.l    D3, 0x00
  1706. 000010DE  7800                     moveq.l    D4, 0x00
  1707. 000010E0  7A00                     moveq.l    D5, 0x00
  1708. 000010E2  4214                     clr.b      [A4]
  1709. 000010E4  4EBA 4D4E                jsr        [PC + 0x4D4E /* 00005E34 */]
  1710. 000010E8  6000 0098                bra        +0x9A /* 00001182 */
  1711. label000010EC:
  1712. 000010EC  2F0B                     move.l     -[A7], A3
  1713. 000010EE  4EBA 3FC8                jsr        [PC + 0x3FC8 /* 000050B8 */]
  1714. 000010F2  2448                     movea.l    A2, A0
  1715. 000010F4  200A                     move.l     D0, A2
  1716. 000010F6  4A80                     tst.l      D0
  1717. 000010F8  584F                     addq.w     A7, 4
  1718. 000010FA  6774                     beq        +0x76 /* 00001170 */
  1719. 000010FC  4857                     pea.l      [A7]
  1720. 000010FE  2F0A                     move.l     -[A7], A2
  1721. 00001100  4EAD FC90                jsr        [A5 - 0x370]
  1722. 00001104  4A00                     tst.b      D0
  1723. 00001106  504F                     addq.w     A7, 8
  1724. 00001108  671C                     beq        +0x1E /* 00001126 */
  1725. 0000110A  2052                     movea.l    A0, [A2]
  1726. 0000110C  10BC 0001                move.b     [A0], 0x1
  1727. 00001110  4A57                     tst.w      [A7]
  1728. 00001112  6706                     beq        +0x8 /* 0000111A */
  1729. 00001114  4A2F 0030                tst.b      [A7 + 0x30]
  1730. 00001118  6604                     bne        +0x6 /* 0000111E */
  1731. label0000111A:
  1732. 0000111A  7000                     moveq.l    D0, 0x00
  1733. 0000111C  6002                     bra        +0x4 /* 00001120 */
  1734. label0000111E:
  1735. 0000111E  7001                     moveq.l    D0, 0x01
  1736. label00001120:
  1737. 00001120  2052                     movea.l    A0, [A2]
  1738. 00001122  1140 0001                move.b     [A0 + 0x1], D0
  1739. label00001126:
  1740. 00001126  4A04                     tst.b      D4
  1741. 00001128  6618                     bne        +0x1A /* 00001142 */
  1742. 0000112A  2052                     movea.l    A0, [A2]
  1743. 0000112C  0C68 0001 0002           cmpi.w     [A0 + 0x2], 0x1
  1744. 00001132  670E                     beq        +0x10 /* 00001142 */
  1745. 00001134  2F3C 7D01 7D09           move.l     -[A7], 0x7D017D09
  1746. 0000113A  4EBA 1004                jsr        [PC + 0x1004 /* 00002140 */]
  1747. 0000113E  7801                     moveq.l    D4, 0x01
  1748. 00001140  584F                     addq.w     A7, 4
  1749. label00001142:
  1750. 00001142  2052                     movea.l    A0, [A2]
  1751. 00001144  41E8 0004                lea.l      A0, [A0 + 0x4]
  1752. 00001148  224C                     movea.l    A1, A4
  1753. 0000114A  7020                     moveq.l    D0, 0x20
  1754. 0000114C  A02E                     syscall    BlockMove/BlockMoveData
  1755. 0000114E  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  1756. 00001152  2F0A                     move.l     -[A7], A2
  1757. 00001154  486F 0030                pea.l      [A7 + 0x30]
  1758. 00001158  486F 0032                pea.l      [A7 + 0x32]
  1759. 0000115C  4EBA 2B8A                jsr        [PC + 0x2B8A /* 00003CE8 */]
  1760. 00001160  3600                     move.w     D3, D0
  1761. 00001162  2F0A                     move.l     -[A7], A2
  1762. 00001164  4EBA FF22                jsr        [PC - 0xDE /* 00001088 */]
  1763. 00001168  95CA                     sub.l      A2, A2
  1764. 0000116A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1765. 0000116E  6002                     bra        +0x4 /* 00001172 */
  1766. label00001170:
  1767. 00001170  7694                     moveq.l    D3, 0xFFFFFF94
  1768. label00001172:
  1769. 00001172  204B                     movea.l    A0, A3
  1770. 00001174  A01F                     syscall    DisposPtr/DisposePtr
  1771. 00001176  97CB                     sub.l      A3, A3
  1772. 00001178  4A2D E8C1                tst.b      [A5 - 0x173F]
  1773. 0000117C  6704                     beq        +0x6 /* 00001182 */
  1774. 0000117E  363C 03E7                move.w     D3, 0x3E7
  1775. label00001182:
  1776. 00001182  5245                     addq.w     D5, 1
  1777. 00001184  3F05                     move.w     -[A7], D5
  1778. 00001186  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  1779. 0000118A  4EBA 3E82                jsr        [PC + 0x3E82 /* 0000500E */]
  1780. 0000118E  2648                     movea.l    A3, A0
  1781. 00001190  2008                     move.l     D0, A0
  1782. 00001192  4A80                     tst.l      D0
  1783. 00001194  5C4F                     addq.w     A7, 6
  1784. 00001196  6706                     beq        +0x8 /* 0000119E */
  1785. 00001198  4A43                     tst.w      D3
  1786. 0000119A  6700 FF50                beq        -0xAE /* 000010EC */
  1787. label0000119E:
  1788. 0000119E  4EBA 4C94                jsr        [PC + 0x4C94 /* 00005E34 */]
  1789. 000011A2  3003                     move.w     D0, D3
  1790. 000011A4  544F                     addq.w     A7, 2
  1791. 000011A6  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  1792. 000011AA  4E75                     rts
  1793. 000011AC  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1794. 000011B0  4FEF FECA                lea.l      A7, [A7 - 0x136]
  1795. 000011B4  382F 016A                move.w     D4, [A7 + 0x16A]
  1796. 000011B8  2C6F 0172                movea.l    A6, [A7 + 0x172]
  1797. 000011BC  4216                     clr.b      [A6]
  1798. 000011BE  3F3C 7D00                move.w     -[A7], 0x7D00 /* '}\0' */
  1799. 000011C2  4EAD FBC0                jsr        [A5 - 0x440]
  1800. 000011C6  2848                     movea.l    A4, A0
  1801. 000011C8  4EAD FC58                jsr        [A5 - 0x3A8]
  1802. 000011CC  3F04                     move.w     -[A7], D4
  1803. 000011CE  4EBA 3518                jsr        [PC + 0x3518 /* 000046E8 */]
  1804. 000011D2  7600                     moveq.l    D3, 0x00
  1805. 000011D4  486F 003A                pea.l      [A7 + 0x3A]
  1806. 000011D8  3F04                     move.w     -[A7], D4
  1807. 000011DA  4EBA FDF6                jsr        [PC - 0x20A /* 00000FD2 */]
  1808. 000011DE  4A00                     tst.b      D0
  1809. 000011E0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1810. 000011E4  671A                     beq        +0x1C /* 00001200 */
  1811. 000011E6  42A7                     clr.l      -[A7]
  1812. 000011E8  42A7                     clr.l      -[A7]
  1813. 000011EA  486F 003E                pea.l      [A7 + 0x3E]
  1814. 000011EE  3F3C 0001                move.w     -[A7], 0x1
  1815. 000011F2  4EBA 02FC                jsr        [PC + 0x2FC /* 000014F0 */]
  1816. 000011F6  363C D8F8                move.w     D3, 0xD8F8
  1817. 000011FA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1818. 000011FE  6036                     bra        +0x38 /* 00001236 */
  1819. label00001200:
  1820. 00001200  486F 0004                pea.l      [A7 + 0x4]
  1821. 00001204  486F 000C                pea.l      [A7 + 0xC]
  1822. 00001208  486F 003E                pea.l      [A7 + 0x3E]
  1823. 0000120C  3F04                     move.w     -[A7], D4
  1824. 0000120E  4EBA FE02                jsr        [PC - 0x1FE /* 00001012 */]
  1825. 00001212  4A00                     tst.b      D0
  1826. 00001214  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1827. 00001218  671C                     beq        +0x1E /* 00001236 */
  1828. 0000121A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1829. 0000121E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  1830. 00001222  486F 003E                pea.l      [A7 + 0x3E]
  1831. 00001226  3F3C 0002                move.w     -[A7], 0x2
  1832. 0000122A  4EBA 02C4                jsr        [PC + 0x2C4 /* 000014F0 */]
  1833. 0000122E  363C D8F7                move.w     D3, 0xD8F7
  1834. 00001232  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1835. label00001236:
  1836. 00001236  4A43                     tst.w      D3
  1837. 00001238  6632                     bne        +0x34 /* 0000126C */
  1838. 0000123A  4A2F 0170                tst.b      [A7 + 0x170]
  1839. 0000123E  672C                     beq        +0x2E /* 0000126C */
  1840. 00001240  594F                     subq.w     A7, 4
  1841. 00001242  2F3C B652 756C           move.l     -[A7], 0xB652756C
  1842. 00001248  3F3C 7D00                move.w     -[A7], 0x7D00 /* '}\0' */
  1843. 0000124C  A9A0                     syscall    GetResource
  1844. 0000124E  205F                     movea.l    A0, [A7]+
  1845. 00001250  2448                     movea.l    A2, A0
  1846. 00001252  2008                     move.l     D0, A0
  1847. 00001254  4A80                     tst.l      D0
  1848. 00001256  6714                     beq        +0x16 /* 0000126C */
  1849. 00001258  486F 0036                pea.l      [A7 + 0x36]
  1850. 0000125C  2F0A                     move.l     -[A7], A2
  1851. 0000125E  4EBA 335A                jsr        [PC + 0x335A /* 000045BA */]
  1852. 00001262  4A40                     tst.w      D0
  1853. 00001264  504F                     addq.w     A7, 8
  1854. 00001266  6704                     beq        +0x6 /* 0000126C */
  1855. 00001268  363C D8F6                move.w     D3, 0xD8F6
  1856. label0000126C:
  1857. 0000126C  4A43                     tst.w      D3
  1858. 0000126E  666C                     bne        +0x6E /* 000012DC */
  1859. 00001270  4A2F 0170                tst.b      [A7 + 0x170]
  1860. 00001274  6766                     beq        +0x68 /* 000012DC */
  1861. 00001276  7A00                     moveq.l    D5, 0x00
  1862. 00001278  4EAD FC98                jsr        [A5 - 0x368]
  1863. 0000127C  2648                     movea.l    A3, A0
  1864. 0000127E  6056                     bra        +0x58 /* 000012D6 */
  1865. label00001280:
  1866. 00001280  5245                     addq.w     D5, 1
  1867. 00001282  2053                     movea.l    A0, [A3]
  1868. 00001284  0828 0001 001B           btst.b     [A0 + 0x1B], 0x1
  1869. 0000128A  6604                     bne        +0x6 /* 00001290 */
  1870. 0000128C  7000                     moveq.l    D0, 0x00
  1871. 0000128E  6002                     bra        +0x4 /* 00001292 */
  1872. label00001290:
  1873. 00001290  7001                     moveq.l    D0, 0x01
  1874. label00001292:
  1875. 00001292  4A80                     tst.l      D0
  1876. 00001294  6736                     beq        +0x38 /* 000012CC */
  1877. 00001296  594F                     subq.w     A7, 4
  1878. 00001298  2F3C B652 756C           move.l     -[A7], 0xB652756C
  1879. 0000129E  3005                     move.w     D0, D5
  1880. 000012A0  48C0                     ext.l      D0
  1881. 000012A2  0680 0000 7D00           addi.l     D0, 0x7D00 /* '}\0' */
  1882. 000012A8  3F00                     move.w     -[A7], D0
  1883. 000012AA  A9A0                     syscall    GetResource
  1884. 000012AC  205F                     movea.l    A0, [A7]+
  1885. 000012AE  2448                     movea.l    A2, A0
  1886. 000012B0  200A                     move.l     D0, A2
  1887. 000012B2  4A80                     tst.l      D0
  1888. 000012B4  6716                     beq        +0x18 /* 000012CC */
  1889. 000012B6  486F 0036                pea.l      [A7 + 0x36]
  1890. 000012BA  2F0A                     move.l     -[A7], A2
  1891. 000012BC  4EBA 32FC                jsr        [PC + 0x32FC /* 000045BA */]
  1892. 000012C0  4A40                     tst.w      D0
  1893. 000012C2  504F                     addq.w     A7, 8
  1894. 000012C4  6706                     beq        +0x8 /* 000012CC */
  1895. 000012C6  363C D8F5                move.w     D3, 0xD8F5
  1896. 000012CA  6010                     bra        +0x12 /* 000012DC */
  1897. label000012CC:
  1898. 000012CC  2F0B                     move.l     -[A7], A3
  1899. 000012CE  4EAD FCA0                jsr        [A5 - 0x360]
  1900. 000012D2  2648                     movea.l    A3, A0
  1901. 000012D4  584F                     addq.w     A7, 4
  1902. label000012D6:
  1903. 000012D6  200B                     move.l     D0, A3
  1904. 000012D8  4A80                     tst.l      D0
  1905. 000012DA  66A4                     bne        -0x5A /* 00001280 */
  1906. label000012DC:
  1907. 000012DC  4A43                     tst.w      D3
  1908. 000012DE  6600 0082                bne        +0x84 /* 00001362 */
  1909. 000012E2  3F04                     move.w     -[A7], D4
  1910. 000012E4  4EBA FC5C                jsr        [PC - 0x3A4 /* 00000F42 */]
  1911. 000012E8  1A00                     move.b     D5, D0
  1912. 000012EA  4EAD FC70                jsr        [A5 - 0x390]
  1913. 000012EE  1C00                     move.b     D6, D0
  1914. 000012F0  3F3C 0005                move.w     -[A7], 0x5
  1915. 000012F4  4EAD FBA0                jsr        [A5 - 0x460]
  1916. 000012F8  1E00                     move.b     D7, D0
  1917. 000012FA  0C06 0002                cmpi.b     D6, 0x2
  1918. 000012FE  584F                     addq.w     A7, 4
  1919. 00001300  662C                     bne        +0x2E /* 0000132E */
  1920. 00001302  4A05                     tst.b      D5
  1921. 00001304  6628                     bne        +0x2A /* 0000132E */
  1922. 00001306  4A07                     tst.b      D7
  1923. 00001308  671E                     beq        +0x20 /* 00001328 */
  1924. 0000130A  486F 0036                pea.l      [A7 + 0x36]
  1925. 0000130E  486D F9F0                pea.l      [A5 - 0x610]
  1926. 00001312  486D F9F0                pea.l      [A5 - 0x610]
  1927. 00001316  486D F9F0                pea.l      [A5 - 0x610]
  1928. 0000131A  A98B                     syscall    ParamText
  1929. 0000131C  2F3C 7D04 0001           move.l     -[A7], 0x7D040001
  1930. 00001322  4EAD FBA8                jsr        [A5 - 0x458]
  1931. 00001326  584F                     addq.w     A7, 4
  1932. label00001328:
  1933. 00001328  363C D8F5                move.w     D3, 0xD8F5
  1934. 0000132C  6034                     bra        +0x36 /* 00001362 */
  1935. label0000132E:
  1936. 0000132E  0C06 0001                cmpi.b     D6, 0x1
  1937. 00001332  662E                     bne        +0x30 /* 00001362 */
  1938. 00001334  4A05                     tst.b      D5
  1939. 00001336  662A                     bne        +0x2C /* 00001362 */
  1940. 00001338  486F 0036                pea.l      [A7 + 0x36]
  1941. 0000133C  486D F9F0                pea.l      [A5 - 0x610]
  1942. 00001340  486D F9F0                pea.l      [A5 - 0x610]
  1943. 00001344  486D F9F0                pea.l      [A5 - 0x610]
  1944. 00001348  A98B                     syscall    ParamText
  1945. 0000134A  4A07                     tst.b      D7
  1946. 0000134C  6714                     beq        +0x16 /* 00001362 */
  1947. 0000134E  2F3C 7D03 0001           move.l     -[A7], 0x7D030001
  1948. 00001354  4EAD FBB0                jsr        [A5 - 0x450]
  1949. 00001358  4A00                     tst.b      D0
  1950. 0000135A  584F                     addq.w     A7, 4
  1951. 0000135C  6604                     bne        +0x6 /* 00001362 */
  1952. 0000135E  363C D8F4                move.w     D3, 0xD8F4
  1953. label00001362:
  1954. 00001362  4A43                     tst.w      D3
  1955. 00001364  6714                     beq        +0x16 /* 0000137A */
  1956. 00001366  3F3C 003C                move.w     -[A7], 0x3C /* '<' */
  1957. 0000136A  2F0C                     move.l     -[A7], A4
  1958. 0000136C  4EAD FBC8                jsr        [A5 - 0x438]
  1959. 00001370  3003                     move.w     D0, D3
  1960. 00001372  4FEF 013C                lea.l      A7, [A7 + 0x13C]
  1961. 00001376  6000 0172                bra        +0x174 /* 000014EA */
  1962. label0000137A:
  1963. 0000137A  42AF 0032                clr.l      [A7 + 0x32]
  1964. 0000137E  42AF 002E                clr.l      [A7 + 0x2E]
  1965. 00001382  422D E8C1                clr.b      [A5 - 0x173F]
  1966. 00001386  422D E8C0                clr.b      [A5 - 0x1740]
  1967. 0000138A  422F 000C                clr.b      [A7 + 0xC]
  1968. 0000138E  554F                     subq.w     A7, 2
  1969. 00001390  42A7                     clr.l      -[A7]
  1970. 00001392  486F 0032                pea.l      [A7 + 0x32]
  1971. 00001396  4EAD FEF0                jsr        [A5 - 0x110]
  1972. 0000139A  301F                     move.w     D0, [A7]+
  1973. 0000139C  554F                     subq.w     A7, 2
  1974. 0000139E  42A7                     clr.l      -[A7]
  1975. 000013A0  3F2F 0032                move.w     -[A7], [A7 + 0x32]
  1976. 000013A4  4EAD FF10                jsr        [A5 - 0xF0]
  1977. 000013A8  301F                     move.w     D0, [A7]+
  1978. 000013AA  426D E906                clr.w      [A5 - 0x16FA]
  1979. 000013AE  554F                     subq.w     A7, 2
  1980. 000013B0  3F2F 002E                move.w     -[A7], [A7 + 0x2E]
  1981. 000013B4  486D E906                pea.l      [A5 - 0x16FA]
  1982. 000013B8  486D E902                pea.l      [A5 - 0x16FE]
  1983. 000013BC  486F 000C                pea.l      [A7 + 0xC]
  1984. 000013C0  4EAD FFD0                jsr        [A5 - 0x30]
  1985. 000013C4  301F                     move.w     D0, [A7]+
  1986. 000013C6  206F 015E                movea.l    A0, [A7 + 0x15E]
  1987. 000013CA  7000                     moveq.l    D0, 0x00
  1988. 000013CC  1010                     move.b     D0, [A0]
  1989. 000013CE  5280                     addq.l     D0, 1
  1990. 000013D0  206F 015E                movea.l    A0, [A7 + 0x15E]
  1991. 000013D4  43ED E8C2                lea.l      A1, [A5 - 0x173E]
  1992. 000013D8  A02E                     syscall    BlockMove/BlockMoveData
  1993. 000013DA  486F 0032                pea.l      [A7 + 0x32]
  1994. 000013DE  42A7                     clr.l      -[A7]
  1995. 000013E0  3F3C 0001                move.w     -[A7], 0x1
  1996. 000013E4  2F2F 0170                move.l     -[A7], [A7 + 0x170]
  1997. 000013E8  2F2F 0170                move.l     -[A7], [A7 + 0x170]
  1998. 000013EC  2F2F 0170                move.l     -[A7], [A7 + 0x170]
  1999. 000013F0  4EAD FE80                jsr        [A5 - 0x180]
  2000. 000013F4  3600                     move.w     D3, D0
  2001. 000013F6  4A43                     tst.w      D3
  2002. 000013F8  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2003. 000013FC  6610                     bne        +0x12 /* 0000140E */
  2004. 000013FE  486F 002E                pea.l      [A7 + 0x2E]
  2005. 00001402  2F2F 0036                move.l     -[A7], [A7 + 0x36]
  2006. 00001406  4EAD FE30                jsr        [A5 - 0x1D0]
  2007. 0000140A  3600                     move.w     D3, D0
  2008. 0000140C  504F                     addq.w     A7, 8
  2009. label0000140E:
  2010. 0000140E  4A43                     tst.w      D3
  2011. 00001410  665A                     bne        +0x5C /* 0000146C */
  2012. 00001412  3F3C 7D00                move.w     -[A7], 0x7D00 /* '}\0' */
  2013. 00001416  4EBA 424C                jsr        [PC + 0x424C /* 00005664 */]
  2014. 0000141A  2448                     movea.l    A2, A0
  2015. 0000141C  200A                     move.l     D0, A2
  2016. 0000141E  4A80                     tst.l      D0
  2017. 00001420  544F                     addq.w     A7, 2
  2018. 00001422  6746                     beq        +0x48 /* 0000146A */
  2019. 00001424  4EBA F15C                jsr        [PC - 0xEA4 /* 00000582 */]
  2020. 00001428  3600                     move.w     D3, D0
  2021. 0000142A  4A43                     tst.w      D3
  2022. 0000142C  661E                     bne        +0x20 /* 0000144C */
  2023. 0000142E  1F2F 0170                move.b     -[A7], [A7 + 0x170]
  2024. 00001432  486F 000E                pea.l      [A7 + 0xE]
  2025. 00001436  2F2F 0172                move.l     -[A7], [A7 + 0x172]
  2026. 0000143A  3F04                     move.w     -[A7], D4
  2027. 0000143C  2F2F 003A                move.l     -[A7], [A7 + 0x3A]
  2028. 00001440  2F0A                     move.l     -[A7], A2
  2029. 00001442  4EBA FC8E                jsr        [PC - 0x372 /* 000010D2 */]
  2030. 00001446  3600                     move.w     D3, D0
  2031. 00001448  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2032. label0000144C:
  2033. 0000144C  4EBA F18A                jsr        [PC - 0xE76 /* 000005D8 */]
  2034. 00001450  3A00                     move.w     D5, D0
  2035. 00001452  4A43                     tst.w      D3
  2036. 00001454  6608                     bne        +0xA /* 0000145E */
  2037. 00001456  4A45                     tst.w      D5
  2038. 00001458  6704                     beq        +0x6 /* 0000145E */
  2039. 0000145A  362D F87A                move.w     D3, [A5 - 0x786]
  2040. label0000145E:
  2041. 0000145E  2F0A                     move.l     -[A7], A2
  2042. 00001460  4EBA 42C2                jsr        [PC + 0x42C2 /* 00005724 */]
  2043. 00001464  95CA                     sub.l      A2, A2
  2044. 00001466  584F                     addq.w     A7, 4
  2045. 00001468  6002                     bra        +0x4 /* 0000146C */
  2046. label0000146A:
  2047. 0000146A  7694                     moveq.l    D3, 0xFFFFFF94
  2048. label0000146C:
  2049. 0000146C  4AAF 002E                tst.l      [A7 + 0x2E]
  2050. 00001470  670A                     beq        +0xC /* 0000147C */
  2051. 00001472  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  2052. 00001476  4EAD FE58                jsr        [A5 - 0x1A8]
  2053. 0000147A  584F                     addq.w     A7, 4
  2054. label0000147C:
  2055. 0000147C  4AAF 0032                tst.l      [A7 + 0x32]
  2056. 00001480  670C                     beq        +0xE /* 0000148E */
  2057. 00001482  4227                     clr.b      -[A7]
  2058. 00001484  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  2059. 00001488  4EAD FE68                jsr        [A5 - 0x198]
  2060. 0000148C  5C4F                     addq.w     A7, 6
  2061. label0000148E:
  2062. 0000148E  554F                     subq.w     A7, 2
  2063. 00001490  42A7                     clr.l      -[A7]
  2064. 00001492  3F04                     move.w     -[A7], D4
  2065. 00001494  4EAD FF10                jsr        [A5 - 0xF0]
  2066. 00001498  301F                     move.w     D0, [A7]+
  2067. 0000149A  554F                     subq.w     A7, 2
  2068. 0000149C  42A7                     clr.l      -[A7]
  2069. 0000149E  4EBA F55A                jsr        [PC - 0xAA6 /* 000009FA */]
  2070. 000014A2  3F00                     move.w     -[A7], D0
  2071. 000014A4  4EAD FF10                jsr        [A5 - 0xF0]
  2072. 000014A8  301F                     move.w     D0, [A7]+
  2073. 000014AA  2F0E                     move.l     -[A7], A6
  2074. 000014AC  4EAD FC78                jsr        [A5 - 0x388]
  2075. 000014B0  3F00                     move.w     -[A7], D0
  2076. 000014B2  486F 003C                pea.l      [A7 + 0x3C]
  2077. 000014B6  486F 0016                pea.l      [A7 + 0x16]
  2078. 000014BA  3F03                     move.w     -[A7], D3
  2079. 000014BC  4EBA 0F7E                jsr        [PC + 0xF7E /* 0000243C */]
  2080. 000014C0  4A00                     tst.b      D0
  2081. 000014C2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2082. 000014C6  6604                     bne        +0x6 /* 000014CC */
  2083. 000014C8  4A16                     tst.b      [A6]
  2084. 000014CA  670E                     beq        +0x10 /* 000014DA */
  2085. label000014CC:
  2086. 000014CC  4EAD FC40                jsr        [A5 - 0x3C0]
  2087. 000014D0  1F3C 0001                move.b     -[A7], 0x1
  2088. 000014D4  4EAD FC48                jsr        [A5 - 0x3B8]
  2089. 000014D8  544F                     addq.w     A7, 2
  2090. label000014DA:
  2091. 000014DA  3F3C 003C                move.w     -[A7], 0x3C /* '<' */
  2092. 000014DE  2F0C                     move.l     -[A7], A4
  2093. 000014E0  4EAD FBC8                jsr        [A5 - 0x438]
  2094. 000014E4  3003                     move.w     D0, D3
  2095. 000014E6  4FEF 013C                lea.l      A7, [A7 + 0x13C]
  2096. label000014EA:
  2097. 000014EA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2098. 000014EE  4E75                     rts
  2099. fn000014F0:
  2100. 000014F0  2F03                     move.l     -[A7], D3
  2101. 000014F2  4FEF FFDC                lea.l      A7, [A7 - 0x24]
  2102. 000014F6  3F3C 0003                move.w     -[A7], 0x3
  2103. 000014FA  4EAD FBA0                jsr        [A5 - 0x460]
  2104. 000014FE  4A00                     tst.b      D0
  2105. 00001500  544F                     addq.w     A7, 2
  2106. 00001502  6700 0154                beq        +0x156 /* 00001658 */
  2107. 00001506  2F3C 7D08 000A           move.l     -[A7], 0x7D08000A
  2108. 0000150C  4EAD FE98                jsr        [A5 - 0x168]
  2109. 00001510  2B48 EA14                move.l     [A5 - 0x15EC], A0
  2110. 00001514  B0FC 0000                cmpa.w     A0, 0x0
  2111. 00001518  584F                     addq.w     A7, 4
  2112. 0000151A  6700 013C                beq        +0x13E /* 00001658 */
  2113. 0000151E  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2114. 00001522  3F3C 0002                move.w     -[A7], 0x2
  2115. 00001526  486F 0006                pea.l      [A7 + 0x6]
  2116. 0000152A  486D EA10                pea.l      [A5 - 0x15F0]
  2117. 0000152E  486D EA08                pea.l      [A5 - 0x15F8]
  2118. 00001532  A98D                     syscall    GetDialogItem/GetDItem
  2119. 00001534  486D E908                pea.l      [A5 - 0x16F8]
  2120. 00001538  3F3C 7D08                move.w     -[A7], 0x7D08
  2121. 0000153C  3F2F 0032                move.w     -[A7], [A7 + 0x32]
  2122. 00001540  4EAD FF80                jsr        [A5 - 0x80]
  2123. 00001544  4AAD EA10                tst.l      [A5 - 0x15F0]
  2124. 00001548  6700 00B2                beq        +0xB4 /* 000015FC */
  2125. 0000154C  4A2D E908                tst.b      [A5 - 0x16F8]
  2126. 00001550  6700 00AA                beq        +0xAC /* 000015FC */
  2127. 00001554  2F2D EA10                move.l     -[A7], [A5 - 0x15F0]
  2128. 00001558  486D E908                pea.l      [A5 - 0x16F8]
  2129. 0000155C  A98F                     syscall    SetDialogItemText/SetIText
  2130. 0000155E  594F                     subq.w     A7, 4
  2131. 00001560  2F2D EA10                move.l     -[A7], [A5 - 0x15F0]
  2132. 00001564  42A7                     clr.l      -[A7]
  2133. 00001566  486D F9F1                pea.l      [A5 - 0x60F]
  2134. 0000156A  4878 0002                push.l     0x2
  2135. 0000156E  206F 0042                movea.l    A0, [A7 + 0x42]
  2136. 00001572  4868 0001                pea.l      [A0 + 0x1]
  2137. 00001576  7000                     moveq.l    D0, 0x00
  2138. 00001578  1010                     move.b     D0, [A0]
  2139. 0000157A  2F00                     move.l     -[A7], D0
  2140. 0000157C  A9E0                     syscall    Munger
  2141. 0000157E  201F                     move.l     D0, [A7]+
  2142. 00001580  202F 0032                move.l     D0, [A7 + 0x32]
  2143. 00001584  0680 0000 0200           addi.l     D0, 0x200
  2144. 0000158A  223C 0000 0400           move.l     D1, 0x400
  2145. 00001590  4EAD FB84                jsr        [A5 - 0x47C]
  2146. 00001594  2F00                     move.l     -[A7], D0
  2147. 00001596  486F 0008                pea.l      [A7 + 0x8]
  2148. 0000159A  4EAD FF60                jsr        [A5 - 0xA0]
  2149. 0000159E  594F                     subq.w     A7, 4
  2150. 000015A0  2F2D EA10                move.l     -[A7], [A5 - 0x15F0]
  2151. 000015A4  42A7                     clr.l      -[A7]
  2152. 000015A6  486D F9F4                pea.l      [A5 - 0x60C]
  2153. 000015AA  4878 0008                push.l     0x8
  2154. 000015AE  486F 0019                pea.l      [A7 + 0x19]
  2155. 000015B2  7000                     moveq.l    D0, 0x00
  2156. 000015B4  102F 001C                move.b     D0, [A7 + 0x1C]
  2157. 000015B8  2F00                     move.l     -[A7], D0
  2158. 000015BA  A9E0                     syscall    Munger
  2159. 000015BC  201F                     move.l     D0, [A7]+
  2160. 000015BE  202F 0036                move.l     D0, [A7 + 0x36]
  2161. 000015C2  0680 0000 0200           addi.l     D0, 0x200
  2162. 000015C8  223C 0000 0400           move.l     D1, 0x400
  2163. 000015CE  4EAD FB84                jsr        [A5 - 0x47C]
  2164. 000015D2  2F00                     move.l     -[A7], D0
  2165. 000015D4  486F 0008                pea.l      [A7 + 0x8]
  2166. 000015D8  4EAD FF60                jsr        [A5 - 0xA0]
  2167. 000015DC  594F                     subq.w     A7, 4
  2168. 000015DE  2F2D EA10                move.l     -[A7], [A5 - 0x15F0]
  2169. 000015E2  42A7                     clr.l      -[A7]
  2170. 000015E4  486D F9FD                pea.l      [A5 - 0x603]
  2171. 000015E8  4878 0008                push.l     0x8
  2172. 000015EC  486F 0019                pea.l      [A7 + 0x19]
  2173. 000015F0  7000                     moveq.l    D0, 0x00
  2174. 000015F2  102F 001C                move.b     D0, [A7 + 0x1C]
  2175. 000015F6  2F00                     move.l     -[A7], D0
  2176. 000015F8  A9E0                     syscall    Munger
  2177. 000015FA  201F                     move.l     D0, [A7]+
  2178. label000015FC:
  2179. 000015FC  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2180. 00001600  A915                     syscall    ShowWindow
  2181. 00001602  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2182. 00001606  A922                     syscall    BeginUpdate
  2183. 00001608  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2184. 0000160C  A981                     syscall    DrawDialog
  2185. 0000160E  3F3C 0001                move.w     -[A7], 0x1
  2186. 00001612  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2187. 00001616  4EAD FE90                jsr        [A5 - 0x170]
  2188. 0000161A  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2189. 0000161E  A923                     syscall    EndUpdate
  2190. 00001620  3F3C 0005                move.w     -[A7], 0x5
  2191. 00001624  A9C8                     syscall    SysBeep
  2192. 00001626  1B7C 0001 E533           move.b     [A5 - 0x1ACD], 0x1
  2193. 0000162C  486D E4A8                pea.l      [A5 - 0x1B58]
  2194. 00001630  A851                     syscall    SetCursor
  2195. 00001632  7600                     moveq.l    D3, 0x00
  2196. 00001634  5C4F                     addq.w     A7, 6
  2197. 00001636  6016                     bra        +0x18 /* 0000164E */
  2198. label00001638:
  2199. 00001638  42A7                     clr.l      -[A7]
  2200. 0000163A  486F 0006                pea.l      [A7 + 0x6]
  2201. 0000163E  A991                     syscall    ModalDialog
  2202. 00001640  302F 0002                move.w     D0, [A7 + 0x2]
  2203. 00001644  48C0                     ext.l      D0
  2204. 00001646  5380                     subq.l     D0, 1
  2205. 00001648  6702                     beq        +0x4 /* 0000164C */
  2206. 0000164A  6002                     bra        +0x4 /* 0000164E */
  2207. label0000164C:
  2208. 0000164C  7601                     moveq.l    D3, 0x01
  2209. label0000164E:
  2210. 0000164E  4A43                     tst.w      D3
  2211. 00001650  67E6                     beq        -0x18 /* 00001638 */
  2212. 00001652  2F2D EA14                move.l     -[A7], [A5 - 0x15EC]
  2213. 00001656  A983                     syscall    DisposeDialog
  2214. label00001658:
  2215. 00001658  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2216. 0000165C  261F                     move.l     D3, [A7]+
  2217. 0000165E  4E75                     rts
  2218. fn00001660:
  2219. 00001660  206F 0008                movea.l    A0, [A7 + 0x8]
  2220. 00001664  0250 00FF                andi.w     [A0], 0xFF
  2221. 00001668  0228 000F 0001           andi.b     [A0 + 0x1], 0xF
  2222. 0000166E  0228 00F0 0001           andi.b     [A0 + 0x1], 0xF0
  2223. 00001674  4228 0002                clr.b      [A0 + 0x2]
  2224. 00001678  4228 0003                clr.b      [A0 + 0x3]
  2225. 0000167C  7000                     moveq.l    D0, 0x00
  2226. 0000167E  4E75                     rts
  2227. fn00001680:
  2228. 00001680  206F 0008                movea.l    A0, [A7 + 0x8]
  2229. 00001684  4290                     clr.l      [A0]
  2230. 00001686  206F 000C                movea.l    A0, [A7 + 0xC]
  2231. 0000168A  4290                     clr.l      [A0]
  2232. 0000168C  7000                     moveq.l    D0, 0x00
  2233. 0000168E  4E75                     rts
  2234. fn00001690:
  2235. 00001690  7000                     moveq.l    D0, 0x00
  2236. 00001692  4E75                     rts
  2237. fn00001694:
  2238. 00001694  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2239. 00001698  5D4F                     subq.w     A7, 6
  2240. 0000169A  286F 0032                movea.l    A4, [A7 + 0x32]
  2241. 0000169E  2A2F 0036                move.l     D5, [A7 + 0x36]
  2242. 000016A2  7600                     moveq.l    D3, 0x00
  2243. 000016A4  2045                     movea.l    A0, D5
  2244. 000016A6  A064                     syscall    MoveHHi
  2245. 000016A8  2045                     movea.l    A0, D5
  2246. 000016AA  A029                     syscall    HLock
  2247. 000016AC  2045                     movea.l    A0, D5
  2248. 000016AE  2450                     movea.l    A2, [A0]
  2249. 000016B0  3F52 0004                move.w     [A7 + 0x4], [A2]
  2250. 000016B4  5C8A                     addq.l     A2, 6
  2251. 000016B6  4A2F 003A                tst.b      [A7 + 0x3A]
  2252. 000016BA  6602                     bne        +0x4 /* 000016BE */
  2253. 000016BC  2C4A                     movea.l    A6, A2
  2254. label000016BE:
  2255. 000016BE  204C                     movea.l    A0, A4
  2256. 000016C0  A064                     syscall    MoveHHi
  2257. 000016C2  204C                     movea.l    A0, A4
  2258. 000016C4  A029                     syscall    HLock
  2259. 000016C6  2654                     movea.l    A3, [A4]
  2260. 000016C8  594F                     subq.w     A7, 4
  2261. 000016CA  2F0C                     move.l     -[A7], A4
  2262. 000016CC  4EAD FEB8                jsr        [A5 - 0x148]
  2263. 000016D0  201F                     move.l     D0, [A7]+
  2264. 000016D2  204B                     movea.l    A0, A3
  2265. 000016D4  D1C0                     add.l      A0, D0
  2266. 000016D6  2E08                     move.l     D7, A0
  2267. 000016D8  6058                     bra        +0x5A /* 00001732 */
  2268. label000016DA:
  2269. 000016DA  4A2F 003A                tst.b      [A7 + 0x3A]
  2270. 000016DE  671C                     beq        +0x1E /* 000016FC */
  2271. 000016E0  305A                     movea.w    A0, [A2]+
  2272. 000016E2  2C08                     move.l     D6, A0
  2273. 000016E4  305A                     movea.w    A0, [A2]+
  2274. 000016E6  2608                     move.l     D3, A0
  2275. 000016E8  4A83                     tst.l      D3
  2276. 000016EA  6D06                     blt        +0x8 /* 000016F2 */
  2277. 000016EC  305A                     movea.w    A0, [A2]+
  2278. 000016EE  2808                     move.l     D4, A0
  2279. 000016F0  601E                     bra        +0x20 /* 00001710 */
  2280. label000016F2:
  2281. 000016F2  0283 0000 7FFF           andi.l     D3, 0x7FFF
  2282. 000016F8  2803                     move.l     D4, D3
  2283. 000016FA  6014                     bra        +0x16 /* 00001710 */
  2284. label000016FC:
  2285. 000016FC  2C1E                     move.l     D6, [A6]+
  2286. 000016FE  261E                     move.l     D3, [A6]+
  2287. 00001700  4A83                     tst.l      D3
  2288. 00001702  6D04                     blt        +0x6 /* 00001708 */
  2289. 00001704  281E                     move.l     D4, [A6]+
  2290. 00001706  6008                     bra        +0xA /* 00001710 */
  2291. label00001708:
  2292. 00001708  0283 7FFF FFFF           andi.l     D3, 0x7FFFFFFF
  2293. 0000170E  2803                     move.l     D4, D3
  2294. label00001710:
  2295. 00001710  594F                     subq.w     A7, 4
  2296. 00001712  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  2297. 00001716  2F06                     move.l     -[A7], D6
  2298. 00001718  42A7                     clr.l      -[A7]
  2299. 0000171A  2F03                     move.l     -[A7], D3
  2300. 0000171C  2F0B                     move.l     -[A7], A3
  2301. 0000171E  2F04                     move.l     -[A7], D4
  2302. 00001720  A9E0                     syscall    Munger
  2303. 00001722  201F                     move.l     D0, [A7]+
  2304. 00001724  2E80                     move.l     [A7], D0
  2305. 00001726  554F                     subq.w     A7, 2
  2306. 00001728  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2307. 0000172C  301F                     move.w     D0, [A7]+
  2308. 0000172E  3600                     move.w     D3, D0
  2309. 00001730  D7C4                     add.l      A3, D4
  2310. label00001732:
  2311. 00001732  302F 0004                move.w     D0, [A7 + 0x4]
  2312. 00001736  536F 0004                subq.w     [A7 + 0x4], 1
  2313. 0000173A  4A40                     tst.w      D0
  2314. 0000173C  6708                     beq        +0xA /* 00001746 */
  2315. 0000173E  4A43                     tst.w      D3
  2316. 00001740  6604                     bne        +0x6 /* 00001746 */
  2317. 00001742  B7C7                     cmpa.l     A3, D7
  2318. 00001744  6594                     bcs        -0x6A /* 000016DA */
  2319. label00001746:
  2320. 00001746  204C                     movea.l    A0, A4
  2321. 00001748  A02A                     syscall    HUnlock
  2322. 0000174A  2045                     movea.l    A0, D5
  2323. 0000174C  A02A                     syscall    HUnlock
  2324. 0000174E  4A43                     tst.w      D3
  2325. 00001750  6604                     bne        +0x6 /* 00001756 */
  2326. 00001752  7000                     moveq.l    D0, 0x00
  2327. 00001754  6002                     bra        +0x4 /* 00001758 */
  2328. label00001756:
  2329. 00001756  7008                     moveq.l    D0, 0x08
  2330. label00001758:
  2331. 00001758  5C4F                     addq.w     A7, 6
  2332. 0000175A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2333. 0000175E  4E75                     rts
  2334. fn00001760:
  2335. 00001760  48E7 1020                movem.l    -[A7], D3,A2
  2336. 00001764  246F 000C                movea.l    A2, [A7 + 0xC]
  2337. 00001768  554F                     subq.w     A7, 2
  2338. 0000176A  A9AF                     syscall    ResError
  2339. 0000176C  301F                     move.w     D0, [A7]+
  2340. 0000176E  3600                     move.w     D3, D0
  2341. 00001770  0C40 FFDE                cmpi.w     D0, 0xFFDE
  2342. 00001774  6704                     beq        +0x6 /* 0000177A */
  2343. 00001776  7000                     moveq.l    D0, 0x00
  2344. 00001778  6032                     bra        +0x34 /* 000017AC */
  2345. label0000177A:
  2346. 0000177A  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  2347. 0000177E  A999                     syscall    UpdateResFile
  2348. 00001780  554F                     subq.w     A7, 2
  2349. 00001782  A9AF                     syscall    ResError
  2350. 00001784  301F                     move.w     D0, [A7]+
  2351. 00001786  3600                     move.w     D3, D0
  2352. 00001788  4A40                     tst.w      D0
  2353. 0000178A  6704                     beq        +0x6 /* 00001790 */
  2354. 0000178C  7000                     moveq.l    D0, 0x00
  2355. 0000178E  601C                     bra        +0x1E /* 000017AC */
  2356. label00001790:
  2357. 00001790  554F                     subq.w     A7, 2
  2358. 00001792  42A7                     clr.l      -[A7]
  2359. 00001794  3F2A 0046                move.w     -[A7], [A2 + 0x46]
  2360. 00001798  4EAD FF10                jsr        [A5 - 0xF0]
  2361. 0000179C  301F                     move.w     D0, [A7]+
  2362. 0000179E  3600                     move.w     D3, D0
  2363. 000017A0  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  2364. 000017A4  3F3C 0060                move.w     -[A7], 0x60 /* '`' */
  2365. 000017A8  A9F7                     syscall    SetResFileAttrs
  2366. 000017AA  7001                     moveq.l    D0, 0x01
  2367. label000017AC:
  2368. 000017AC  4CDF 0408                movem.l    D3,A2, [A7]+
  2369. 000017B0  4E75                     rts
  2370. fn000017B2:
  2371. 000017B2  4A2F 0008                tst.b      [A7 + 0x8]
  2372. 000017B6  6708                     beq        +0xA /* 000017C0 */
  2373. 000017B8  206F 0004                movea.l    A0, [A7 + 0x4]
  2374. 000017BC  A023                     syscall    DisposHandle/DisposeHandle
  2375. 000017BE  6006                     bra        +0x8 /* 000017C6 */
  2376. label000017C0:
  2377. 000017C0  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2378. 000017C4  A9A3                     syscall    ReleaseResource
  2379. label000017C6:
  2380. 000017C6  4E75                     rts
  2381. fn000017C8:
  2382. 000017C8  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2383. 000017CC  4FEF FEFA                lea.l      A7, [A7 - 0x106]
  2384. 000017D0  266F 012E                movea.l    A3, [A7 + 0x12E]
  2385. 000017D4  286F 0132                movea.l    A4, [A7 + 0x132]
  2386. 000017D8  7600                     moveq.l    D3, 0x00
  2387. 000017DA  3F2C 0092                move.w     -[A7], [A4 + 0x92]
  2388. 000017DE  A998                     syscall    UseResFile
  2389. 000017E0  594F                     subq.w     A7, 4
  2390. 000017E2  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  2391. 000017E6  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  2392. 000017EA  A81F                     syscall    Get1Resource
  2393. 000017EC  205F                     movea.l    A0, [A7]+
  2394. 000017EE  2448                     movea.l    A2, A0
  2395. 000017F0  200A                     move.l     D0, A2
  2396. 000017F2  4A80                     tst.l      D0
  2397. 000017F4  6626                     bne        +0x28 /* 0000181C */
  2398. 000017F6  302B 0002                move.w     D0, [A3 + 0x2]
  2399. 000017FA  7204                     moveq.l    D1, 0x04
  2400. 000017FC  C081                     and.l      D0, D1
  2401. 000017FE  6706                     beq        +0x8 /* 00001806 */
  2402. 00001800  7000                     moveq.l    D0, 0x00
  2403. 00001802  6000 0266                bra        +0x268 /* 00001A6A */
  2404. label00001806:
  2405. 00001806  7000                     moveq.l    D0, 0x00
  2406. 00001808  A122                     syscall    NewHandle, flags=1
  2407. 0000180A  2448                     movea.l    A2, A0
  2408. 0000180C  2008                     move.l     D0, A0
  2409. 0000180E  4A80                     tst.l      D0
  2410. 00001810  6606                     bne        +0x8 /* 00001818 */
  2411. 00001812  7008                     moveq.l    D0, 0x08
  2412. 00001814  6000 0254                bra        +0x256 /* 00001A6A */
  2413. label00001818:
  2414. 00001818  7801                     moveq.l    D4, 0x01
  2415. 0000181A  6002                     bra        +0x4 /* 0000181E */
  2416. label0000181C:
  2417. 0000181C  7800                     moveq.l    D4, 0x00
  2418. label0000181E:
  2419. 0000181E  4A53                     tst.w      [A3]
  2420. 00001820  6634                     bne        +0x36 /* 00001856 */
  2421. 00001822  4A04                     tst.b      D4
  2422. 00001824  6626                     bne        +0x28 /* 0000184C */
  2423. 00001826  2F0A                     move.l     -[A7], A2
  2424. 00001828  4267                     clr.w      -[A7]
  2425. 0000182A  A9A7                     syscall    SetResAttrs
  2426. 0000182C  2F0A                     move.l     -[A7], A2
  2427. 0000182E  A9AD                     syscall    RemoveResource/RmveResource
  2428. 00001830  554F                     subq.w     A7, 2
  2429. 00001832  A9AF                     syscall    ResError
  2430. 00001834  301F                     move.w     D0, [A7]+
  2431. 00001836  3600                     move.w     D3, D0
  2432. 00001838  4A40                     tst.w      D0
  2433. 0000183A  6606                     bne        +0x8 /* 00001842 */
  2434. 0000183C  204A                     movea.l    A0, A2
  2435. 0000183E  A023                     syscall    DisposHandle/DisposeHandle
  2436. 00001840  6002                     bra        +0x4 /* 00001844 */
  2437. label00001842:
  2438. 00001842  7606                     moveq.l    D3, 0x06
  2439. label00001844:
  2440. 00001844  197C 0001 0094           move.b     [A4 + 0x94], 0x1
  2441. 0000184A  6004                     bra        +0x6 /* 00001850 */
  2442. label0000184C:
  2443. 0000184C  204A                     movea.l    A0, A2
  2444. 0000184E  A023                     syscall    DisposHandle/DisposeHandle
  2445. label00001850:
  2446. 00001850  3003                     move.w     D0, D3
  2447. 00001852  6000 0216                bra        +0x218 /* 00001A6A */
  2448. label00001856:
  2449. 00001856  302B 0002                move.w     D0, [A3 + 0x2]
  2450. 0000185A  7204                     moveq.l    D1, 0x04
  2451. 0000185C  C081                     and.l      D0, D1
  2452. 0000185E  671C                     beq        +0x1E /* 0000187C */
  2453. 00001860  302B 0002                move.w     D0, [A3 + 0x2]
  2454. 00001864  7208                     moveq.l    D1, 0x08
  2455. 00001866  C081                     and.l      D0, D1
  2456. 00001868  6612                     bne        +0x14 /* 0000187C */
  2457. 0000186A  1F04                     move.b     -[A7], D4
  2458. 0000186C  2F0A                     move.l     -[A7], A2
  2459. 0000186E  4EBA FF42                jsr        [PC - 0xBE /* 000017B2 */]
  2460. 00001872  7000                     moveq.l    D0, 0x00
  2461. 00001874  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  2462. 00001878  6000 01F4                bra        +0x1F6 /* 00001A6E */
  2463. label0000187C:
  2464. 0000187C  3F2C 0090                move.w     -[A7], [A4 + 0x90]
  2465. 00001880  A998                     syscall    UseResFile
  2466. 00001882  594F                     subq.w     A7, 4
  2467. 00001884  2F3C 5A41 5020           move.l     -[A7], 0x5A415020 /* 'ZAP ' */
  2468. 0000188A  3F13                     move.w     -[A7], [A3]
  2469. 0000188C  A81F                     syscall    Get1Resource
  2470. 0000188E  205F                     movea.l    A0, [A7]+
  2471. 00001890  2C48                     movea.l    A6, A0
  2472. 00001892  2008                     move.l     D0, A0
  2473. 00001894  4A80                     tst.l      D0
  2474. 00001896  6612                     bne        +0x14 /* 000018AA */
  2475. 00001898  1F04                     move.b     -[A7], D4
  2476. 0000189A  2F0A                     move.l     -[A7], A2
  2477. 0000189C  4EBA FF14                jsr        [PC - 0xEC /* 000017B2 */]
  2478. 000018A0  7009                     moveq.l    D0, 0x09
  2479. 000018A2  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  2480. 000018A6  6000 01C6                bra        +0x1C8 /* 00001A6E */
  2481. label000018AA:
  2482. 000018AA  2F0E                     move.l     -[A7], A6
  2483. 000018AC  486F 0008                pea.l      [A7 + 0x8]
  2484. 000018B0  486F 0008                pea.l      [A7 + 0x8]
  2485. 000018B4  486F 0012                pea.l      [A7 + 0x12]
  2486. 000018B8  A9A8                     syscall    GetResInfo
  2487. 000018BA  554F                     subq.w     A7, 2
  2488. 000018BC  2F0E                     move.l     -[A7], A6
  2489. 000018BE  A9A6                     syscall    GetResAttrs
  2490. 000018C0  301F                     move.w     D0, [A7]+
  2491. 000018C2  3E00                     move.w     D7, D0
  2492. 000018C4  4A04                     tst.b      D4
  2493. 000018C6  663E                     bne        +0x40 /* 00001906 */
  2494. 000018C8  2F0A                     move.l     -[A7], A2
  2495. 000018CA  4267                     clr.w      -[A7]
  2496. 000018CC  A9A7                     syscall    SetResAttrs
  2497. 000018CE  302B 0002                move.w     D0, [A3 + 0x2]
  2498. 000018D2  7204                     moveq.l    D1, 0x04
  2499. 000018D4  C081                     and.l      D0, D1
  2500. 000018D6  672E                     beq        +0x30 /* 00001906 */
  2501. 000018D8  204A                     movea.l    A0, A2
  2502. 000018DA  202B 000C                move.l     D0, [A3 + 0xC]
  2503. 000018DE  A024                     syscall    SetHandleSize
  2504. 000018E0  197C 0001 0094           move.b     [A4 + 0x94], 0x1
  2505. 000018E6  554F                     subq.w     A7, 2
  2506. 000018E8  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2507. 000018EC  301F                     move.w     D0, [A7]+
  2508. 000018EE  3600                     move.w     D3, D0
  2509. 000018F0  4A40                     tst.w      D0
  2510. 000018F2  6712                     beq        +0x14 /* 00001906 */
  2511. 000018F4  1F04                     move.b     -[A7], D4
  2512. 000018F6  2F0A                     move.l     -[A7], A2
  2513. 000018F8  4EBA FEB8                jsr        [PC - 0x148 /* 000017B2 */]
  2514. 000018FC  7008                     moveq.l    D0, 0x08
  2515. 000018FE  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  2516. 00001902  6000 016A                bra        +0x16C /* 00001A6E */
  2517. label00001906:
  2518. 00001906  2F0E                     move.l     -[A7], A6
  2519. 00001908  4267                     clr.w      -[A7]
  2520. 0000190A  A9A7                     syscall    SetResAttrs
  2521. 0000190C  3C2B 0002                move.w     D6, [A3 + 0x2]
  2522. 00001910  7201                     moveq.l    D1, 0x01
  2523. 00001912  CC81                     and.l      D6, D1
  2524. 00001914  4A06                     tst.b      D6
  2525. 00001916  6610                     bne        +0x12 /* 00001928 */
  2526. 00001918  594F                     subq.w     A7, 4
  2527. 0000191A  2F3C 5A49 4C23           move.l     -[A7], 0x5A494C23 /* 'ZIL#' */
  2528. 00001920  3F13                     move.w     -[A7], [A3]
  2529. 00001922  A81F                     syscall    Get1Resource
  2530. 00001924  205F                     movea.l    A0, [A7]+
  2531. 00001926  600E                     bra        +0x10 /* 00001936 */
  2532. label00001928:
  2533. 00001928  594F                     subq.w     A7, 4
  2534. 0000192A  2F3C 5A49 5323           move.l     -[A7], 0x5A495323 /* 'ZIS#' */
  2535. 00001930  3F13                     move.w     -[A7], [A3]
  2536. 00001932  A81F                     syscall    Get1Resource
  2537. 00001934  205F                     movea.l    A0, [A7]+
  2538. label00001936:
  2539. 00001936  2A08                     move.l     D5, A0
  2540. 00001938  4A85                     tst.l      D5
  2541. 0000193A  672E                     beq        +0x30 /* 0000196A */
  2542. 0000193C  1F06                     move.b     -[A7], D6
  2543. 0000193E  2F05                     move.l     -[A7], D5
  2544. 00001940  2F0E                     move.l     -[A7], A6
  2545. 00001942  2F0A                     move.l     -[A7], A2
  2546. 00001944  4EBA FD4E                jsr        [PC - 0x2B2 /* 00001694 */]
  2547. 00001948  3600                     move.w     D3, D0
  2548. 0000194A  197C 0001 0094           move.b     [A4 + 0x94], 0x1
  2549. 00001950  4A43                     tst.w      D3
  2550. 00001952  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2551. 00001956  6724                     beq        +0x26 /* 0000197C */
  2552. 00001958  1F04                     move.b     -[A7], D4
  2553. 0000195A  2F0A                     move.l     -[A7], A2
  2554. 0000195C  4EBA FE54                jsr        [PC - 0x1AC /* 000017B2 */]
  2555. 00001960  7008                     moveq.l    D0, 0x08
  2556. 00001962  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  2557. 00001966  6000 0106                bra        +0x108 /* 00001A6E */
  2558. label0000196A:
  2559. 0000196A  1F04                     move.b     -[A7], D4
  2560. 0000196C  2F0A                     move.l     -[A7], A2
  2561. 0000196E  4EBA FE42                jsr        [PC - 0x1BE /* 000017B2 */]
  2562. 00001972  7009                     moveq.l    D0, 0x09
  2563. 00001974  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  2564. 00001978  6000 00F4                bra        +0xF6 /* 00001A6E */
  2565. label0000197C:
  2566. 0000197C  3F2C 0092                move.w     -[A7], [A4 + 0x92]
  2567. 00001980  A998                     syscall    UseResFile
  2568. 00001982  4A04                     tst.b      D4
  2569. 00001984  672E                     beq        +0x30 /* 000019B4 */
  2570. 00001986  2F0A                     move.l     -[A7], A2
  2571. 00001988  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  2572. 0000198C  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  2573. 00001990  486F 0010                pea.l      [A7 + 0x10]
  2574. 00001994  A9AB                     syscall    AddResource
  2575. 00001996  2F0C                     move.l     -[A7], A4
  2576. 00001998  4EBA FDC6                jsr        [PC - 0x23A /* 00001760 */]
  2577. 0000199C  4A40                     tst.w      D0
  2578. 0000199E  584F                     addq.w     A7, 4
  2579. 000019A0  671E                     beq        +0x20 /* 000019C0 */
  2580. 000019A2  2F0A                     move.l     -[A7], A2
  2581. 000019A4  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  2582. 000019A8  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  2583. 000019AC  486F 0010                pea.l      [A7 + 0x10]
  2584. 000019B0  A9AB                     syscall    AddResource
  2585. 000019B2  600C                     bra        +0xE /* 000019C0 */
  2586. label000019B4:
  2587. 000019B4  2F0A                     move.l     -[A7], A2
  2588. 000019B6  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  2589. 000019BA  486F 000C                pea.l      [A7 + 0xC]
  2590. 000019BE  A9A9                     syscall    SetResInfo
  2591. label000019C0:
  2592. 000019C0  2F0A                     move.l     -[A7], A2
  2593. 000019C2  A9AA                     syscall    ChangedResource
  2594. 000019C4  2F0C                     move.l     -[A7], A4
  2595. 000019C6  4EBA FD98                jsr        [PC - 0x268 /* 00001760 */]
  2596. 000019CA  4A40                     tst.w      D0
  2597. 000019CC  584F                     addq.w     A7, 4
  2598. 000019CE  676A                     beq        +0x6C /* 00001A3A */
  2599. 000019D0  2F0A                     move.l     -[A7], A2
  2600. 000019D2  A9AA                     syscall    ChangedResource
  2601. 000019D4  554F                     subq.w     A7, 2
  2602. 000019D6  A9AF                     syscall    ResError
  2603. 000019D8  301F                     move.w     D0, [A7]+
  2604. 000019DA  3600                     move.w     D3, D0
  2605. 000019DC  0C40 FFDE                cmpi.w     D0, 0xFFDE
  2606. 000019E0  6658                     bne        +0x5A /* 00001A3A */
  2607. 000019E2  2F0A                     move.l     -[A7], A2
  2608. 000019E4  486F 0008                pea.l      [A7 + 0x8]
  2609. 000019E8  486F 0008                pea.l      [A7 + 0x8]
  2610. 000019EC  486F 0012                pea.l      [A7 + 0x12]
  2611. 000019F0  A9A8                     syscall    GetResInfo
  2612. 000019F2  554F                     subq.w     A7, 2
  2613. 000019F4  A9AF                     syscall    ResError
  2614. 000019F6  301F                     move.w     D0, [A7]+
  2615. 000019F8  3600                     move.w     D3, D0
  2616. 000019FA  4A40                     tst.w      D0
  2617. 000019FC  663C                     bne        +0x3E /* 00001A3A */
  2618. 000019FE  2F0A                     move.l     -[A7], A2
  2619. 00001A00  A9AD                     syscall    RemoveResource/RmveResource
  2620. 00001A02  554F                     subq.w     A7, 2
  2621. 00001A04  A9AF                     syscall    ResError
  2622. 00001A06  301F                     move.w     D0, [A7]+
  2623. 00001A08  3600                     move.w     D3, D0
  2624. 00001A0A  4A40                     tst.w      D0
  2625. 00001A0C  662C                     bne        +0x2E /* 00001A3A */
  2626. 00001A0E  2F0A                     move.l     -[A7], A2
  2627. 00001A10  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2628. 00001A14  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  2629. 00001A18  486F 0010                pea.l      [A7 + 0x10]
  2630. 00001A1C  A9AB                     syscall    AddResource
  2631. 00001A1E  2F0C                     move.l     -[A7], A4
  2632. 00001A20  4EBA FD3E                jsr        [PC - 0x2C2 /* 00001760 */]
  2633. 00001A24  4A40                     tst.w      D0
  2634. 00001A26  584F                     addq.w     A7, 4
  2635. 00001A28  6710                     beq        +0x12 /* 00001A3A */
  2636. 00001A2A  2F0A                     move.l     -[A7], A2
  2637. 00001A2C  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  2638. 00001A30  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  2639. 00001A34  486F 0010                pea.l      [A7 + 0x10]
  2640. 00001A38  A9AB                     syscall    AddResource
  2641. label00001A3A:
  2642. 00001A3A  4A43                     tst.w      D3
  2643. 00001A3C  6704                     beq        +0x6 /* 00001A42 */
  2644. 00001A3E  7007                     moveq.l    D0, 0x07
  2645. 00001A40  6028                     bra        +0x2A /* 00001A6A */
  2646. label00001A42:
  2647. 00001A42  2F0A                     move.l     -[A7], A2
  2648. 00001A44  A9B0                     syscall    WriteResource
  2649. 00001A46  554F                     subq.w     A7, 2
  2650. 00001A48  A9AF                     syscall    ResError
  2651. 00001A4A  301F                     move.w     D0, [A7]+
  2652. 00001A4C  3600                     move.w     D3, D0
  2653. 00001A4E  4A40                     tst.w      D0
  2654. 00001A50  6704                     beq        +0x6 /* 00001A56 */
  2655. 00001A52  7007                     moveq.l    D0, 0x07
  2656. 00001A54  6014                     bra        +0x16 /* 00001A6A */
  2657. label00001A56:
  2658. 00001A56  2F0A                     move.l     -[A7], A2
  2659. 00001A58  3F07                     move.w     -[A7], D7
  2660. 00001A5A  A9A7                     syscall    SetResAttrs
  2661. 00001A5C  2F0A                     move.l     -[A7], A2
  2662. 00001A5E  A9A3                     syscall    ReleaseResource
  2663. 00001A60  2F0E                     move.l     -[A7], A6
  2664. 00001A62  A9A3                     syscall    ReleaseResource
  2665. 00001A64  2F05                     move.l     -[A7], D5
  2666. 00001A66  A9A3                     syscall    ReleaseResource
  2667. 00001A68  3003                     move.w     D0, D3
  2668. label00001A6A:
  2669. 00001A6A  4FEF 0106                lea.l      A7, [A7 + 0x106]
  2670. label00001A6E:
  2671. 00001A6E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2672. 00001A72  4E75                     rts
  2673. fn00001A74:
  2674. 00001A74  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  2675. 00001A78  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2676. 00001A7C  246F 0034                movea.l    A2, [A7 + 0x34]
  2677. 00001A80  2C6F 0038                movea.l    A6, [A7 + 0x38]
  2678. 00001A84  7800                     moveq.l    D4, 0x00
  2679. 00001A86  204A                     movea.l    A0, A2
  2680. 00001A88  A029                     syscall    HLock
  2681. 00001A8A  2052                     movea.l    A0, [A2]
  2682. 00001A8C  3C10                     move.w     D6, [A0]
  2683. 00001A8E  7602                     moveq.l    D3, 0x02
  2684. 00001A90  7A01                     moveq.l    D5, 0x01
  2685. 00001A92  6044                     bra        +0x46 /* 00001AD8 */
  2686. label00001A94:
  2687. 00001A94  2852                     movea.l    A4, [A2]
  2688. 00001A96  D9C3                     add.l      A4, D3
  2689. 00001A98  264C                     movea.l    A3, A4
  2690. 00001A9A  554F                     subq.w     A7, 2
  2691. 00001A9C  3F3C FFFF                move.w     -[A7], 0xFFFF
  2692. 00001AA0  486F 0004                pea.l      [A7 + 0x4]
  2693. 00001AA4  A971                     syscall    EventAvail
  2694. 00001AA6  101F                     move.b     D0, [A7]+
  2695. 00001AA8  1800                     move.b     D4, D0
  2696. 00001AAA  286E 008C                movea.l    A4, [A6 + 0x8C]
  2697. 00001AAE  4E94                     jsr        [A4]
  2698. 00001AB0  4A00                     tst.b      D0
  2699. 00001AB2  6704                     beq        +0x6 /* 00001AB8 */
  2700. 00001AB4  7001                     moveq.l    D0, 0x01
  2701. 00001AB6  602E                     bra        +0x30 /* 00001AE6 */
  2702. label00001AB8:
  2703. 00001AB8  2F0E                     move.l     -[A7], A6
  2704. 00001ABA  2F0B                     move.l     -[A7], A3
  2705. 00001ABC  4EBA FD0A                jsr        [PC - 0x2F6 /* 000017C8 */]
  2706. 00001AC0  3800                     move.w     D4, D0
  2707. 00001AC2  7000                     moveq.l    D0, 0x00
  2708. 00001AC4  102B 0010                move.b     D0, [A3 + 0x10]
  2709. 00001AC8  7211                     moveq.l    D1, 0x11
  2710. 00001ACA  D081                     add.l      D0, D1
  2711. 00001ACC  D680                     add.l      D3, D0
  2712. 00001ACE  7001                     moveq.l    D0, 0x01
  2713. 00001AD0  C083                     and.l      D0, D3
  2714. 00001AD2  D680                     add.l      D3, D0
  2715. 00001AD4  5245                     addq.w     D5, 1
  2716. 00001AD6  504F                     addq.w     A7, 8
  2717. label00001AD8:
  2718. 00001AD8  4A44                     tst.w      D4
  2719. 00001ADA  6604                     bne        +0x6 /* 00001AE0 */
  2720. 00001ADC  BA46                     cmp.w      D5, D6
  2721. 00001ADE  6FB4                     ble        -0x4A /* 00001A94 */
  2722. label00001AE0:
  2723. 00001AE0  204A                     movea.l    A0, A2
  2724. 00001AE2  A02A                     syscall    HUnlock
  2725. 00001AE4  3004                     move.w     D0, D4
  2726. label00001AE6:
  2727. 00001AE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2728. 00001AEA  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  2729. 00001AEE  4E75                     rts
  2730. fn00001AF0:
  2731. 00001AF0  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  2732. 00001AF4  4FEF FEFA                lea.l      A7, [A7 - 0x106]
  2733. 00001AF8  286F 0126                movea.l    A4, [A7 + 0x126]
  2734. 00001AFC  7600                     moveq.l    D3, 0x00
  2735. 00001AFE  204C                     movea.l    A0, A4
  2736. 00001B00  A029                     syscall    HLock
  2737. 00001B02  2054                     movea.l    A0, [A4]
  2738. 00001B04  3C10                     move.w     D6, [A0]
  2739. 00001B06  7802                     moveq.l    D4, 0x02
  2740. 00001B08  7A01                     moveq.l    D5, 0x01
  2741. 00001B0A  6000 00AE                bra        +0xB0 /* 00001BBA */
  2742. label00001B0E:
  2743. 00001B0E  2654                     movea.l    A3, [A4]
  2744. 00001B10  D7C4                     add.l      A3, D4
  2745. 00001B12  244B                     movea.l    A2, A3
  2746. 00001B14  4227                     clr.b      -[A7]
  2747. 00001B16  A99B                     syscall    SetResLoad
  2748. 00001B18  594F                     subq.w     A7, 4
  2749. 00001B1A  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  2750. 00001B1E  3F2A 0008                move.w     -[A7], [A2 + 0x8]
  2751. 00001B22  A81F                     syscall    Get1Resource
  2752. 00001B24  205F                     movea.l    A0, [A7]+
  2753. 00001B26  2648                     movea.l    A3, A0
  2754. 00001B28  1F3C 0001                move.b     -[A7], 0x1
  2755. 00001B2C  A99B                     syscall    SetResLoad
  2756. 00001B2E  200B                     move.l     D0, A3
  2757. 00001B30  4A80                     tst.l      D0
  2758. 00001B32  660E                     bne        +0x10 /* 00001B42 */
  2759. 00001B34  4AAA 000C                tst.l      [A2 + 0xC]
  2760. 00001B38  6604                     bne        +0x6 /* 00001B3E */
  2761. 00001B3A  7600                     moveq.l    D3, 0x00
  2762. 00001B3C  6052                     bra        +0x54 /* 00001B90 */
  2763. label00001B3E:
  2764. 00001B3E  7604                     moveq.l    D3, 0x04
  2765. 00001B40  604E                     bra        +0x50 /* 00001B90 */
  2766. label00001B42:
  2767. 00001B42  7604                     moveq.l    D3, 0x04
  2768. 00001B44  594F                     subq.w     A7, 4
  2769. 00001B46  2F0B                     move.l     -[A7], A3
  2770. 00001B48  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  2771. 00001B4A  201F                     move.l     D0, [A7]+
  2772. 00001B4C  B0AA 000C                cmp.l      D0, [A2 + 0xC]
  2773. 00001B50  663E                     bne        +0x40 /* 00001B90 */
  2774. 00001B52  554F                     subq.w     A7, 2
  2775. 00001B54  2F0B                     move.l     -[A7], A3
  2776. 00001B56  A9A6                     syscall    GetResAttrs
  2777. 00001B58  301F                     move.w     D0, [A7]+
  2778. 00001B5A  0280 0000 00FF           andi.l     D0, 0xFF
  2779. 00001B60  B06A 000A                cmp.w      D0, [A2 + 0xA]
  2780. 00001B64  662A                     bne        +0x2C /* 00001B90 */
  2781. 00001B66  2F0B                     move.l     -[A7], A3
  2782. 00001B68  486F 0004                pea.l      [A7 + 0x4]
  2783. 00001B6C  486F 000A                pea.l      [A7 + 0xA]
  2784. 00001B70  486F 0012                pea.l      [A7 + 0x12]
  2785. 00001B74  A9A8                     syscall    GetResInfo
  2786. 00001B76  554F                     subq.w     A7, 2
  2787. 00001B78  486F 0008                pea.l      [A7 + 0x8]
  2788. 00001B7C  486A 0010                pea.l      [A2 + 0x10]
  2789. 00001B80  4227                     clr.b      -[A7]
  2790. 00001B82  1F3C 0001                move.b     -[A7], 0x1
  2791. 00001B86  4EAD FEC8                jsr        [A5 - 0x138]
  2792. 00001B8A  101F                     move.b     D0, [A7]+
  2793. 00001B8C  6702                     beq        +0x4 /* 00001B90 */
  2794. 00001B8E  7600                     moveq.l    D3, 0x00
  2795. label00001B90:
  2796. 00001B90  4A43                     tst.w      D3
  2797. 00001B92  6712                     beq        +0x14 /* 00001BA6 */
  2798. 00001B94  302A 0002                move.w     D0, [A2 + 0x2]
  2799. 00001B98  7202                     moveq.l    D1, 0x02
  2800. 00001B9A  C081                     and.l      D0, D1
  2801. 00001B9C  6708                     beq        +0xA /* 00001BA6 */
  2802. 00001B9E  006A 0004 0002           ori.w      [A2 + 0x2], 0x4
  2803. 00001BA4  7600                     moveq.l    D3, 0x00
  2804. label00001BA6:
  2805. 00001BA6  7000                     moveq.l    D0, 0x00
  2806. 00001BA8  102A 0010                move.b     D0, [A2 + 0x10]
  2807. 00001BAC  7211                     moveq.l    D1, 0x11
  2808. 00001BAE  D081                     add.l      D0, D1
  2809. 00001BB0  D880                     add.l      D4, D0
  2810. 00001BB2  7001                     moveq.l    D0, 0x01
  2811. 00001BB4  C084                     and.l      D0, D4
  2812. 00001BB6  D880                     add.l      D4, D0
  2813. 00001BB8  5245                     addq.w     D5, 1
  2814. label00001BBA:
  2815. 00001BBA  4A43                     tst.w      D3
  2816. 00001BBC  6606                     bne        +0x8 /* 00001BC4 */
  2817. 00001BBE  BA46                     cmp.w      D5, D6
  2818. 00001BC0  6F00 FF4C                ble        -0xB2 /* 00001B0E */
  2819. label00001BC4:
  2820. 00001BC4  204C                     movea.l    A0, A4
  2821. 00001BC6  A02A                     syscall    HUnlock
  2822. 00001BC8  3003                     move.w     D0, D3
  2823. 00001BCA  4FEF 0106                lea.l      A7, [A7 + 0x106]
  2824. 00001BCE  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  2825. 00001BD2  4E75                     rts
  2826. fn00001BD4:
  2827. 00001BD4  48E7 1030                movem.l    -[A7], D3,A2,A3
  2828. 00001BD8  266F 0010                movea.l    A3, [A7 + 0x10]
  2829. 00001BDC  246F 0014                movea.l    A2, [A7 + 0x14]
  2830. 00001BE0  2F0B                     move.l     -[A7], A3
  2831. 00001BE2  4EBA FF0C                jsr        [PC - 0xF4 /* 00001AF0 */]
  2832. 00001BE6  3600                     move.w     D3, D0
  2833. 00001BE8  4A40                     tst.w      D0
  2834. 00001BEA  584F                     addq.w     A7, 4
  2835. 00001BEC  6616                     bne        +0x18 /* 00001C04 */
  2836. 00001BEE  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  2837. 00001BF2  3F3C 0060                move.w     -[A7], 0x60 /* '`' */
  2838. 00001BF6  A9F7                     syscall    SetResFileAttrs
  2839. 00001BF8  2F0A                     move.l     -[A7], A2
  2840. 00001BFA  2F0B                     move.l     -[A7], A3
  2841. 00001BFC  4EBA FE76                jsr        [PC - 0x18A /* 00001A74 */]
  2842. 00001C00  3600                     move.w     D3, D0
  2843. 00001C02  504F                     addq.w     A7, 8
  2844. label00001C04:
  2845. 00001C04  3003                     move.w     D0, D3
  2846. 00001C06  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2847. 00001C0A  4E75                     rts
  2848. fn00001C0C:
  2849. 00001C0C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2850. 00001C10  594F                     subq.w     A7, 4
  2851. 00001C12  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  2852. 00001C16  286F 0030                movea.l    A4, [A7 + 0x30]
  2853. 00001C1A  594F                     subq.w     A7, 4
  2854. 00001C1C  2F3C 7665 7273           move.l     -[A7], 0x76657273 /* 'vers' */
  2855. 00001C22  3F3C 0001                move.w     -[A7], 0x1
  2856. 00001C26  A81F                     syscall    Get1Resource
  2857. 00001C28  205F                     movea.l    A0, [A7]+
  2858. 00001C2A  2448                     movea.l    A2, A0
  2859. 00001C2C  2008                     move.l     D0, A0
  2860. 00001C2E  4A80                     tst.l      D0
  2861. 00001C30  6706                     beq        +0x8 /* 00001C38 */
  2862. 00001C32  2652                     movea.l    A3, [A2]
  2863. 00001C34  2813                     move.l     D4, [A3]
  2864. 00001C36  6002                     bra        +0x4 /* 00001C3A */
  2865. label00001C38:
  2866. 00001C38  7800                     moveq.l    D4, 0x00
  2867. label00001C3A:
  2868. 00001C3A  4254                     clr.w      [A4]
  2869. 00001C3C  3C2E 002E                move.w     D6, [A6 + 0x2E]
  2870. 00001C40  7E30                     moveq.l    D7, 0x30
  2871. 00001C42  264E                     movea.l    A3, A6
  2872. 00001C44  D7C7                     add.l      A3, D7
  2873. 00001C46  244B                     movea.l    A2, A3
  2874. 00001C48  2A12                     move.l     D5, [A2]
  2875. 00001C4A  3006                     move.w     D0, D6
  2876. 00001C4C  48C0                     ext.l      D0
  2877. 00001C4E  5380                     subq.l     D0, 1
  2878. 00001C50  720E                     moveq.l    D1, 0x0E
  2879. 00001C52  4EAD FB78                jsr        [A5 - 0x488]
  2880. 00001C56  D5C0                     add.l      A2, D0
  2881. 00001C58  262A 0004                move.l     D3, [A2 + 0x4]
  2882. 00001C5C  2E83                     move.l     [A7], D3
  2883. 00001C5E  6008                     bra        +0xA /* 00001C68 */
  2884. label00001C60:
  2885. 00001C60  700E                     moveq.l    D0, 0x0E
  2886. 00001C62  95C0                     sub.l      A2, D0
  2887. 00001C64  262A 0004                move.l     D3, [A2 + 0x4]
  2888. label00001C68:
  2889. 00001C68  4A83                     tst.l      D3
  2890. 00001C6A  6604                     bne        +0x6 /* 00001C70 */
  2891. 00001C6C  B5CB                     cmpa.l     A2, A3
  2892. 00001C6E  64F0                     bcc        -0xE /* 00001C60 */
  2893. label00001C70:
  2894. 00001C70  4A83                     tst.l      D3
  2895. 00001C72  6602                     bne        +0x4 /* 00001C76 */
  2896. 00001C74  2605                     move.l     D3, D5
  2897. label00001C76:
  2898. 00001C76  B885                     cmp.l      D4, D5
  2899. 00001C78  6C04                     bge        +0x6 /* 00001C7E */
  2900. 00001C7A  7004                     moveq.l    D0, 0x04
  2901. 00001C7C  6036                     bra        +0x38 /* 00001CB4 */
  2902. label00001C7E:
  2903. 00001C7E  B883                     cmp.l      D4, D3
  2904. 00001C80  6E08                     bgt        +0xA /* 00001C8A */
  2905. 00001C82  B883                     cmp.l      D4, D3
  2906. 00001C84  6608                     bne        +0xA /* 00001C8E */
  2907. 00001C86  4A97                     tst.l      [A7]
  2908. 00001C88  6704                     beq        +0x6 /* 00001C8E */
  2909. label00001C8A:
  2910. 00001C8A  7000                     moveq.l    D0, 0x00
  2911. 00001C8C  6026                     bra        +0x28 /* 00001CB4 */
  2912. label00001C8E:
  2913. 00001C8E  264E                     movea.l    A3, A6
  2914. 00001C90  D7C7                     add.l      A3, D7
  2915. 00001C92  244B                     movea.l    A2, A3
  2916. 00001C94  7601                     moveq.l    D3, 0x01
  2917. 00001C96  600E                     bra        +0x10 /* 00001CA6 */
  2918. label00001C98:
  2919. 00001C98  B892                     cmp.l      D4, [A2]
  2920. 00001C9A  6604                     bne        +0x6 /* 00001CA0 */
  2921. 00001C9C  3883                     move.w     [A4], D3
  2922. 00001C9E  600A                     bra        +0xC /* 00001CAA */
  2923. label00001CA0:
  2924. 00001CA0  700E                     moveq.l    D0, 0x0E
  2925. 00001CA2  D5C0                     add.l      A2, D0
  2926. 00001CA4  5243                     addq.w     D3, 1
  2927. label00001CA6:
  2928. 00001CA6  B646                     cmp.w      D3, D6
  2929. 00001CA8  6FEE                     ble        -0x10 /* 00001C98 */
  2930. label00001CAA:
  2931. 00001CAA  4A54                     tst.w      [A4]
  2932. 00001CAC  6604                     bne        +0x6 /* 00001CB2 */
  2933. 00001CAE  7004                     moveq.l    D0, 0x04
  2934. 00001CB0  6002                     bra        +0x4 /* 00001CB4 */
  2935. label00001CB2:
  2936. 00001CB2  7000                     moveq.l    D0, 0x00
  2937. label00001CB4:
  2938. 00001CB4  584F                     addq.w     A7, 4
  2939. 00001CB6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2940. 00001CBA  4E75                     rts
  2941. fn00001CBC:
  2942. 00001CBC  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2943. 00001CC0  4FEF FEF4                lea.l      A7, [A7 - 0x10C]
  2944. 00001CC4  246F 0136                movea.l    A2, [A7 + 0x136]
  2945. 00001CC8  7A00                     moveq.l    D5, 0x00
  2946. 00001CCA  41EA 0046                lea.l      A0, [A2 + 0x46]
  2947. 00001CCE  43EF 0006                lea.l      A1, [A7 + 0x6]
  2948. 00001CD2  7022                     moveq.l    D0, 0x22
  2949. label00001CD4:
  2950. 00001CD4  32D8                     move.w     [A1]+, [A0]+
  2951. 00001CD6  51C8 FFFC                dbf        D0, -0x6 /* 00001CD4 */
  2952. 00001CDA  41EA 0046                lea.l      A0, [A2 + 0x46]
  2953. 00001CDE  43EF 00C6                lea.l      A1, [A7 + 0xC6]
  2954. 00001CE2  7022                     moveq.l    D0, 0x22
  2955. label00001CE4:
  2956. 00001CE4  32D8                     move.w     [A1]+, [A0]+
  2957. 00001CE6  51C8 FFFC                dbf        D0, -0x6 /* 00001CE4 */
  2958. 00001CEA  594F                     subq.w     A7, 4
  2959. 00001CEC  2F3C 5A56 4552           move.l     -[A7], 0x5A564552 /* 'ZVER' */
  2960. 00001CF2  3F2F 013C                move.w     -[A7], [A7 + 0x13C]
  2961. 00001CF6  A80E                     syscall    Get1IndResource/Get1IxResource
  2962. 00001CF8  205F                     movea.l    A0, [A7]+
  2963. 00001CFA  2848                     movea.l    A4, A0
  2964. 00001CFC  2008                     move.l     D0, A0
  2965. 00001CFE  4A80                     tst.l      D0
  2966. 00001D00  6700 027C                beq        +0x27E /* 00001F7E */
  2967. 00001D04  7600                     moveq.l    D3, 0x00
  2968. 00001D06  204C                     movea.l    A0, A4
  2969. 00001D08  A029                     syscall    HLock
  2970. 00001D0A  2654                     movea.l    A3, [A4]
  2971. 00001D0C  49EF 004C                lea.l      A4, [A7 + 0x4C]
  2972. 00001D10  42AC 000C                clr.l      [A4 + 0xC]
  2973. 00001D14  396A 0046 0016           move.w     [A4 + 0x16], [A2 + 0x46]
  2974. 00001D1A  422C 001A                clr.b      [A4 + 0x1A]
  2975. 00001D1E  426C 001C                clr.w      [A4 + 0x1C]
  2976. 00001D22  204A                     movea.l    A0, A2
  2977. 00001D24  41E8 004C                lea.l      A0, [A0 + 0x4C]
  2978. 00001D28  2948 0012                move.l     [A4 + 0x12], A0
  2979. 00001D2C  296A 0048 0030           move.l     [A4 + 0x30], [A2 + 0x48]
  2980. 00001D32  41EF 004C                lea.l      A0, [A7 + 0x4C]
  2981. 00001D36  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  2982. 00001D38  3600                     move.w     D3, D0
  2983. 00001D3A  4A40                     tst.w      D0
  2984. 00001D3C  6706                     beq        +0x8 /* 00001D44 */
  2985. 00001D3E  7004                     moveq.l    D0, 0x04
  2986. 00001D40  6000 023E                bra        +0x240 /* 00001F80 */
  2987. label00001D44:
  2988. 00001D44  202C 0020                move.l     D0, [A4 + 0x20]
  2989. 00001D48  B0AB 0002                cmp.l      D0, [A3 + 0x2]
  2990. 00001D4C  660A                     bne        +0xC /* 00001D58 */
  2991. 00001D4E  202C 0024                move.l     D0, [A4 + 0x24]
  2992. 00001D52  B0AB 0006                cmp.l      D0, [A3 + 0x6]
  2993. 00001D56  6706                     beq        +0x8 /* 00001D5E */
  2994. label00001D58:
  2995. 00001D58  7004                     moveq.l    D0, 0x04
  2996. 00001D5A  6000 0224                bra        +0x226 /* 00001F80 */
  2997. label00001D5E:
  2998. 00001D5E  2E2C 0036                move.l     D7, [A4 + 0x36]
  2999. 00001D62  282C 0040                move.l     D4, [A4 + 0x40]
  3000. 00001D66  42AF 0058                clr.l      [A7 + 0x58]
  3001. 00001D6A  426F 0068                clr.w      [A7 + 0x68]
  3002. 00001D6E  42AF 005E                clr.l      [A7 + 0x5E]
  3003. 00001D72  3F6A 0046 0062           move.w     [A7 + 0x62], [A2 + 0x46]
  3004. 00001D78  41EF 004C                lea.l      A0, [A7 + 0x4C]
  3005. 00001D7C  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  3006. 00001D7E  3600                     move.w     D3, D0
  3007. 00001D80  4A40                     tst.w      D0
  3008. 00001D82  6706                     beq        +0x8 /* 00001D8A */
  3009. 00001D84  7004                     moveq.l    D0, 0x04
  3010. 00001D86  6000 01F8                bra        +0x1FA /* 00001F80 */
  3011. label00001D8A:
  3012. 00001D8A  7000                     moveq.l    D0, 0x00
  3013. 00001D8C  302F 008A                move.w     D0, [A7 + 0x8A]
  3014. 00001D90  222F 007C                move.l     D1, [A7 + 0x7C]
  3015. 00001D94  4EAD FB78                jsr        [A5 - 0x488]
  3016. 00001D98  90AB 000A                sub.l      D0, [A3 + 0xA]
  3017. 00001D9C  D084                     add.l      D0, D4
  3018. 00001D9E  0C80 0000 0800           cmpi.l     D0, 0x800
  3019. 00001DA4  6406                     bcc        +0x8 /* 00001DAC */
  3020. 00001DA6  7005                     moveq.l    D0, 0x05
  3021. 00001DA8  6000 01D6                bra        +0x1D8 /* 00001F80 */
  3022. label00001DAC:
  3023. 00001DAC  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  3024. 00001DB0  A998                     syscall    UseResFile
  3025. 00001DB2  426F 0004                clr.w      [A7 + 0x4]
  3026. 00001DB6  3C2B 002E                move.w     D6, [A3 + 0x2E]
  3027. 00001DBA  4A46                     tst.w      D6
  3028. 00001DBC  6724                     beq        +0x26 /* 00001DE2 */
  3029. 00001DBE  486F 0004                pea.l      [A7 + 0x4]
  3030. 00001DC2  2F0B                     move.l     -[A7], A3
  3031. 00001DC4  4EBA FE46                jsr        [PC - 0x1BA /* 00001C0C */]
  3032. 00001DC8  3600                     move.w     D3, D0
  3033. 00001DCA  4A43                     tst.w      D3
  3034. 00001DCC  504F                     addq.w     A7, 8
  3035. 00001DCE  6706                     beq        +0x8 /* 00001DD6 */
  3036. 00001DD0  3003                     move.w     D0, D3
  3037. 00001DD2  6000 01AC                bra        +0x1AE /* 00001F80 */
  3038. label00001DD6:
  3039. 00001DD6  4A6F 0004                tst.w      [A7 + 0x4]
  3040. 00001DDA  660C                     bne        +0xE /* 00001DE8 */
  3041. 00001DDC  7000                     moveq.l    D0, 0x00
  3042. 00001DDE  6000 01A0                bra        +0x1A2 /* 00001F80 */
  3043. label00001DE2:
  3044. 00001DE2  7000                     moveq.l    D0, 0x00
  3045. 00001DE4  6000 019A                bra        +0x19C /* 00001F80 */
  3046. label00001DE8:
  3047. 00001DE8  3013                     move.w     D0, [A3]
  3048. 00001DEA  7201                     moveq.l    D1, 0x01
  3049. 00001DEC  C081                     and.l      D0, D1
  3050. 00001DEE  6700 00E8                beq        +0xEA /* 00001ED8 */
  3051. 00001DF2  4A43                     tst.w      D3
  3052. 00001DF4  6636                     bne        +0x38 /* 00001E2C */
  3053. 00001DF6  7000                     moveq.l    D0, 0x00
  3054. 00001DF8  302F 008A                move.w     D0, [A7 + 0x8A]
  3055. 00001DFC  222F 007C                move.l     D1, [A7 + 0x7C]
  3056. 00001E00  4EAD FB78                jsr        [A5 - 0x488]
  3057. 00001E04  2840                     movea.l    A4, D0
  3058. 00001E06  B8AB 000A                cmp.l      D4, [A3 + 0xA]
  3059. 00001E0A  6504                     bcs        +0x6 /* 00001E10 */
  3060. 00001E0C  2004                     move.l     D0, D4
  3061. 00001E0E  6004                     bra        +0x6 /* 00001E14 */
  3062. label00001E10:
  3063. 00001E10  202B 000A                move.l     D0, [A3 + 0xA]
  3064. label00001E14:
  3065. 00001E14  2C40                     movea.l    A6, D0
  3066. 00001E16  202F 007C                move.l     D0, [A7 + 0x7C]
  3067. 00001E1A  D080                     add.l      D0, D0
  3068. 00001E1C  2807                     move.l     D4, D7
  3069. 00001E1E  D88E                     add.l      D4, A6
  3070. 00001E20  D880                     add.l      D4, D0
  3071. 00001E22  B88C                     cmp.l      D4, A4
  3072. 00001E24  6306                     bls        +0x8 /* 00001E2C */
  3073. 00001E26  7005                     moveq.l    D0, 0x05
  3074. 00001E28  6000 0156                bra        +0x158 /* 00001F80 */
  3075. label00001E2C:
  3076. 00001E2C  4A43                     tst.w      D3
  3077. 00001E2E  660A                     bne        +0xC /* 00001E3A */
  3078. 00001E30  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  3079. 00001E34  A99A                     syscall    CloseResFile
  3080. 00001E36  426A 0092                clr.w      [A2 + 0x92]
  3081. label00001E3A:
  3082. 00001E3A  4A43                     tst.w      D3
  3083. 00001E3C  660C                     bne        +0xE /* 00001E4A */
  3084. 00001E3E  486F 00C6                pea.l      [A7 + 0xC6]
  3085. 00001E42  4EBA E1C4                jsr        [PC - 0x1E3C /* 00000008 */]
  3086. 00001E46  3600                     move.w     D3, D0
  3087. 00001E48  584F                     addq.w     A7, 4
  3088. label00001E4A:
  3089. 00001E4A  4A43                     tst.w      D3
  3090. 00001E4C  662A                     bne        +0x2C /* 00001E78 */
  3091. 00001E4E  2EAD FA06                move.l     [A7], [A5 - 0x5FA]
  3092. 00001E52  2F17                     move.l     -[A7], [A7]
  3093. 00001E54  4227                     clr.b      -[A7]
  3094. 00001E56  486F 00D2                pea.l      [A7 + 0xD2]
  3095. 00001E5A  2F2F 00D2                move.l     -[A7], [A7 + 0xD2]
  3096. 00001E5E  3F2F 00D4                move.w     -[A7], [A7 + 0xD4]
  3097. 00001E62  486F 001C                pea.l      [A7 + 0x1C]
  3098. 00001E66  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3099. 00001E6A  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  3100. 00001E6E  4EBA E55C                jsr        [PC - 0x1AA4 /* 000003CC */]
  3101. 00001E72  3600                     move.w     D3, D0
  3102. 00001E74  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3103. label00001E78:
  3104. 00001E78  4A43                     tst.w      D3
  3105. 00001E7A  6616                     bne        +0x18 /* 00001E92 */
  3106. 00001E7C  7A01                     moveq.l    D5, 0x01
  3107. 00001E7E  554F                     subq.w     A7, 2
  3108. 00001E80  42A7                     clr.l      -[A7]
  3109. 00001E82  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  3110. 00001E86  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  3111. 00001E8A  4EAD FF90                jsr        [A5 - 0x70]
  3112. 00001E8E  301F                     move.w     D0, [A7]+
  3113. 00001E90  3600                     move.w     D3, D0
  3114. label00001E92:
  3115. 00001E92  4A43                     tst.w      D3
  3116. 00001E94  6616                     bne        +0x18 /* 00001EAC */
  3117. 00001E96  554F                     subq.w     A7, 2
  3118. 00001E98  486F 000E                pea.l      [A7 + 0xE]
  3119. 00001E9C  A997                     syscall    OpenResFile
  3120. 00001E9E  301F                     move.w     D0, [A7]+
  3121. 00001EA0  3540 0092                move.w     [A2 + 0x92], D0
  3122. 00001EA4  554F                     subq.w     A7, 2
  3123. 00001EA6  A9AF                     syscall    ResError
  3124. 00001EA8  301F                     move.w     D0, [A7]+
  3125. 00001EAA  3600                     move.w     D3, D0
  3126. label00001EAC:
  3127. 00001EAC  4A43                     tst.w      D3
  3128. 00001EAE  6606                     bne        +0x8 /* 00001EB6 */
  3129. 00001EB0  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  3130. 00001EB4  A998                     syscall    UseResFile
  3131. label00001EB6:
  3132. 00001EB6  4A43                     tst.w      D3
  3133. 00001EB8  671E                     beq        +0x20 /* 00001ED8 */
  3134. 00001EBA  4A05                     tst.b      D5
  3135. 00001EBC  6714                     beq        +0x16 /* 00001ED2 */
  3136. 00001EBE  486F 00CC                pea.l      [A7 + 0xCC]
  3137. 00001EC2  2F2F 00CC                move.l     -[A7], [A7 + 0xCC]
  3138. 00001EC6  3F2F 00CE                move.w     -[A7], [A7 + 0xCE]
  3139. 00001ECA  4EBA E5DE                jsr        [PC - 0x1A22 /* 000004AA */]
  3140. 00001ECE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3141. label00001ED2:
  3142. 00001ED2  700A                     moveq.l    D0, 0x0A
  3143. 00001ED4  6000 00AA                bra        +0xAC /* 00001F80 */
  3144. label00001ED8:
  3145. 00001ED8  7830                     moveq.l    D4, 0x30
  3146. 00001EDA  6038                     bra        +0x3A /* 00001F14 */
  3147. label00001EDC:
  3148. 00001EDC  284B                     movea.l    A4, A3
  3149. 00001EDE  D9C4                     add.l      A4, D4
  3150. 00001EE0  2C4C                     movea.l    A6, A4
  3151. 00001EE2  3F2A 0090                move.w     -[A7], [A2 + 0x90]
  3152. 00001EE6  A998                     syscall    UseResFile
  3153. 00001EE8  594F                     subq.w     A7, 4
  3154. 00001EEA  2F3C 5A41 5023           move.l     -[A7], 0x5A415023 /* 'ZAP#' */
  3155. 00001EF0  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3156. 00001EF4  A81F                     syscall    Get1Resource
  3157. 00001EF6  205F                     movea.l    A0, [A7]+
  3158. 00001EF8  2848                     movea.l    A4, A0
  3159. 00001EFA  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  3160. 00001EFE  A998                     syscall    UseResFile
  3161. 00001F00  2F0A                     move.l     -[A7], A2
  3162. 00001F02  2F0C                     move.l     -[A7], A4
  3163. 00001F04  4EBA FCCE                jsr        [PC - 0x332 /* 00001BD4 */]
  3164. 00001F08  3600                     move.w     D3, D0
  3165. 00001F0A  700E                     moveq.l    D0, 0x0E
  3166. 00001F0C  D880                     add.l      D4, D0
  3167. 00001F0E  526F 000C                addq.w     [A7 + 0xC], 1
  3168. 00001F12  504F                     addq.w     A7, 8
  3169. label00001F14:
  3170. 00001F14  BC6F 0004                cmp.w      D6, [A7 + 0x4]
  3171. 00001F18  6D04                     blt        +0x6 /* 00001F1E */
  3172. 00001F1A  4A43                     tst.w      D3
  3173. 00001F1C  67BE                     beq        -0x40 /* 00001EDC */
  3174. label00001F1E:
  3175. 00001F1E  3013                     move.w     D0, [A3]
  3176. 00001F20  7201                     moveq.l    D1, 0x01
  3177. 00001F22  C081                     and.l      D0, D1
  3178. 00001F24  6754                     beq        +0x56 /* 00001F7A */
  3179. 00001F26  4A43                     tst.w      D3
  3180. 00001F28  6616                     bne        +0x18 /* 00001F40 */
  3181. 00001F2A  486F 00CC                pea.l      [A7 + 0xCC]
  3182. 00001F2E  2F2F 00CC                move.l     -[A7], [A7 + 0xCC]
  3183. 00001F32  3F2F 00CE                move.w     -[A7], [A7 + 0xCE]
  3184. 00001F36  4EBA E572                jsr        [PC - 0x1A8E /* 000004AA */]
  3185. 00001F3A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3186. 00001F3E  6036                     bra        +0x38 /* 00001F76 */
  3187. label00001F40:
  3188. 00001F40  3F2A 0092                move.w     -[A7], [A2 + 0x92]
  3189. 00001F44  A99A                     syscall    CloseResFile
  3190. 00001F46  426A 0092                clr.w      [A2 + 0x92]
  3191. 00001F4A  486F 000C                pea.l      [A7 + 0xC]
  3192. 00001F4E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3193. 00001F52  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  3194. 00001F56  4EBA E552                jsr        [PC - 0x1AAE /* 000004AA */]
  3195. 00001F5A  3800                     move.w     D4, D0
  3196. 00001F5C  3F2F 00D0                move.w     -[A7], [A7 + 0xD0]
  3197. 00001F60  2F2F 00D4                move.l     -[A7], [A7 + 0xD4]
  3198. 00001F64  486F 00DC                pea.l      [A7 + 0xDC]
  3199. 00001F68  486F 0020                pea.l      [A7 + 0x20]
  3200. 00001F6C  4EAD FFC0                jsr        [A5 - 0x40]
  3201. 00001F70  301F                     move.w     D0, [A7]+
  3202. 00001F72  3800                     move.w     D4, D0
  3203. 00001F74  504F                     addq.w     A7, 8
  3204. label00001F76:
  3205. 00001F76  422A 0094                clr.b      [A2 + 0x94]
  3206. label00001F7A:
  3207. 00001F7A  3003                     move.w     D0, D3
  3208. 00001F7C  6002                     bra        +0x4 /* 00001F80 */
  3209. label00001F7E:
  3210. 00001F7E  7009                     moveq.l    D0, 0x09
  3211. label00001F80:
  3212. 00001F80  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  3213. 00001F84  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3214. 00001F88  4E75                     rts
  3215. fn00001F8A:
  3216. 00001F8A  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  3217. 00001F8E  4FEF FF5E                lea.l      A7, [A7 - 0xA2]
  3218. 00001F92  266F 00BE                movea.l    A3, [A7 + 0xBE]
  3219. 00001F96  246F 00C2                movea.l    A2, [A7 + 0xC2]
  3220. 00001F9A  554F                     subq.w     A7, 2
  3221. 00001F9C  42A7                     clr.l      -[A7]
  3222. 00001F9E  486F 0010                pea.l      [A7 + 0x10]
  3223. 00001FA2  486F 0010                pea.l      [A7 + 0x10]
  3224. 00001FA6  4EAD FF88                jsr        [A5 - 0x78]
  3225. 00001FAA  301F                     move.w     D0, [A7]+
  3226. 00001FAC  3600                     move.w     D3, D0
  3227. 00001FAE  4A40                     tst.w      D0
  3228. 00001FB0  661C                     bne        +0x1E /* 00001FCE */
  3229. 00001FB2  554F                     subq.w     A7, 2
  3230. 00001FB4  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  3231. 00001FB8  486F 0004                pea.l      [A7 + 0x4]
  3232. 00001FBC  486F 000A                pea.l      [A7 + 0xA]
  3233. 00001FC0  42A7                     clr.l      -[A7]
  3234. 00001FC2  4EAD FFD0                jsr        [A5 - 0x30]
  3235. 00001FC6  301F                     move.w     D0, [A7]+
  3236. 00001FC8  3600                     move.w     D3, D0
  3237. 00001FCA  4A40                     tst.w      D0
  3238. 00001FCC  6706                     beq        +0x8 /* 00001FD4 */
  3239. label00001FCE:
  3240. 00001FCE  7002                     moveq.l    D0, 0x02
  3241. 00001FD0  6000 0164                bra        +0x166 /* 00002136 */
  3242. label00001FD4:
  3243. 00001FD4  554F                     subq.w     A7, 2
  3244. 00001FD6  A994                     syscall    CurResFile
  3245. 00001FD8  301F                     move.w     D0, [A7]+
  3246. 00001FDA  3A00                     move.w     D5, D0
  3247. 00001FDC  41D3                     lea.l      A0, [A3]
  3248. 00001FDE  43EF 000C                lea.l      A1, [A7 + 0xC]
  3249. 00001FE2  7022                     moveq.l    D0, 0x22
  3250. label00001FE4:
  3251. 00001FE4  32D8                     move.w     [A1]+, [A0]+
  3252. 00001FE6  51C8 FFFC                dbf        D0, -0x6 /* 00001FE4 */
  3253. 00001FEA  41D2                     lea.l      A0, [A2]
  3254. 00001FEC  43EF 0052                lea.l      A1, [A7 + 0x52]
  3255. 00001FF0  7022                     moveq.l    D0, 0x22
  3256. label00001FF2:
  3257. 00001FF2  32D8                     move.w     [A1]+, [A0]+
  3258. 00001FF4  51C8 FFFC                dbf        D0, -0x6 /* 00001FF2 */
  3259. 00001FF8  2F6F 00C6 0098           move.l     [A7 + 0x98], [A7 + 0xC6]
  3260. 00001FFE  426F 009C                clr.w      [A7 + 0x9C]
  3261. 00002002  426F 009E                clr.w      [A7 + 0x9E]
  3262. 00002006  422F 00A0                clr.b      [A7 + 0xA0]
  3263. 0000200A  554F                     subq.w     A7, 2
  3264. 0000200C  42A7                     clr.l      -[A7]
  3265. 0000200E  3F13                     move.w     -[A7], [A3]
  3266. 00002010  2F2B 0002                move.l     -[A7], [A3 + 0x2]
  3267. 00002014  4EAD FF90                jsr        [A5 - 0x70]
  3268. 00002018  301F                     move.w     D0, [A7]+
  3269. 0000201A  3600                     move.w     D3, D0
  3270. 0000201C  4A40                     tst.w      D0
  3271. 0000201E  6600 00AA                bne        +0xAC /* 000020CA */
  3272. 00002022  554F                     subq.w     A7, 2
  3273. 00002024  486B 0006                pea.l      [A3 + 0x6]
  3274. 00002028  A997                     syscall    OpenResFile
  3275. 0000202A  301F                     move.w     D0, [A7]+
  3276. 0000202C  3F40 009C                move.w     [A7 + 0x9C], D0
  3277. 00002030  554F                     subq.w     A7, 2
  3278. 00002032  A9AF                     syscall    ResError
  3279. 00002034  301F                     move.w     D0, [A7]+
  3280. 00002036  3600                     move.w     D3, D0
  3281. 00002038  4A40                     tst.w      D0
  3282. 0000203A  6600 008A                bne        +0x8C /* 000020C6 */
  3283. 0000203E  4A6F 009C                tst.w      [A7 + 0x9C]
  3284. 00002042  6700 0082                beq        +0x84 /* 000020C6 */
  3285. 00002046  0C6F FFFF 009C           cmpi.w     [A7 + 0x9C], 0xFFFF
  3286. 0000204C  6778                     beq        +0x7A /* 000020C6 */
  3287. 0000204E  554F                     subq.w     A7, 2
  3288. 00002050  42A7                     clr.l      -[A7]
  3289. 00002052  3F12                     move.w     -[A7], [A2]
  3290. 00002054  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  3291. 00002058  4EAD FF90                jsr        [A5 - 0x70]
  3292. 0000205C  301F                     move.w     D0, [A7]+
  3293. 0000205E  3600                     move.w     D3, D0
  3294. 00002060  4A40                     tst.w      D0
  3295. 00002062  665E                     bne        +0x60 /* 000020C2 */
  3296. 00002064  554F                     subq.w     A7, 2
  3297. 00002066  486A 0006                pea.l      [A2 + 0x6]
  3298. 0000206A  A997                     syscall    OpenResFile
  3299. 0000206C  301F                     move.w     D0, [A7]+
  3300. 0000206E  3F40 009E                move.w     [A7 + 0x9E], D0
  3301. 00002072  554F                     subq.w     A7, 2
  3302. 00002074  A9AF                     syscall    ResError
  3303. 00002076  301F                     move.w     D0, [A7]+
  3304. 00002078  3600                     move.w     D3, D0
  3305. 0000207A  4A40                     tst.w      D0
  3306. 0000207C  6640                     bne        +0x42 /* 000020BE */
  3307. 0000207E  4A6F 009E                tst.w      [A7 + 0x9E]
  3308. 00002082  673A                     beq        +0x3C /* 000020BE */
  3309. 00002084  0C6F FFFF 009E           cmpi.w     [A7 + 0x9E], 0xFFFF
  3310. 0000208A  6732                     beq        +0x34 /* 000020BE */
  3311. 0000208C  3F2F 009C                move.w     -[A7], [A7 + 0x9C]
  3312. 00002090  A998                     syscall    UseResFile
  3313. 00002092  554F                     subq.w     A7, 2
  3314. 00002094  2F3C 5A56 4552           move.l     -[A7], 0x5A564552 /* 'ZVER' */
  3315. 0000209A  A80D                     syscall    Count1Resources
  3316. 0000209C  301F                     move.w     D0, [A7]+
  3317. 0000209E  3C00                     move.w     D6, D0
  3318. 000020A0  7801                     moveq.l    D4, 0x01
  3319. 000020A2  6010                     bra        +0x12 /* 000020B4 */
  3320. label000020A4:
  3321. 000020A4  486F 000C                pea.l      [A7 + 0xC]
  3322. 000020A8  3F04                     move.w     -[A7], D4
  3323. 000020AA  4EBA FC10                jsr        [PC - 0x3F0 /* 00001CBC */]
  3324. 000020AE  3600                     move.w     D3, D0
  3325. 000020B0  5244                     addq.w     D4, 1
  3326. 000020B2  5C4F                     addq.w     A7, 6
  3327. label000020B4:
  3328. 000020B4  B846                     cmp.w      D4, D6
  3329. 000020B6  6E14                     bgt        +0x16 /* 000020CC */
  3330. 000020B8  4A43                     tst.w      D3
  3331. 000020BA  67E8                     beq        -0x16 /* 000020A4 */
  3332. 000020BC  600E                     bra        +0x10 /* 000020CC */
  3333. label000020BE:
  3334. 000020BE  7603                     moveq.l    D3, 0x03
  3335. 000020C0  600A                     bra        +0xC /* 000020CC */
  3336. label000020C2:
  3337. 000020C2  7602                     moveq.l    D3, 0x02
  3338. 000020C4  6006                     bra        +0x8 /* 000020CC */
  3339. label000020C6:
  3340. 000020C6  7603                     moveq.l    D3, 0x03
  3341. 000020C8  6002                     bra        +0x4 /* 000020CC */
  3342. label000020CA:
  3343. 000020CA  7602                     moveq.l    D3, 0x02
  3344. label000020CC:
  3345. 000020CC  4A6F 009E                tst.w      [A7 + 0x9E]
  3346. 000020D0  670E                     beq        +0x10 /* 000020E0 */
  3347. 000020D2  0C6F FFFF 009E           cmpi.w     [A7 + 0x9E], 0xFFFF
  3348. 000020D8  6706                     beq        +0x8 /* 000020E0 */
  3349. 000020DA  3F2F 009E                move.w     -[A7], [A7 + 0x9E]
  3350. 000020DE  A99A                     syscall    CloseResFile
  3351. label000020E0:
  3352. 000020E0  4A6F 009C                tst.w      [A7 + 0x9C]
  3353. 000020E4  670E                     beq        +0x10 /* 000020F4 */
  3354. 000020E6  0C6F FFFF 009C           cmpi.w     [A7 + 0x9C], 0xFFFF
  3355. 000020EC  6706                     beq        +0x8 /* 000020F4 */
  3356. 000020EE  3F2F 009C                move.w     -[A7], [A7 + 0x9C]
  3357. 000020F2  A99A                     syscall    CloseResFile
  3358. label000020F4:
  3359. 000020F4  3F05                     move.w     -[A7], D5
  3360. 000020F6  A998                     syscall    UseResFile
  3361. 000020F8  7002                     moveq.l    D0, 0x02
  3362. 000020FA  B0AF 0002                cmp.l      D0, [A7 + 0x2]
  3363. 000020FE  6616                     bne        +0x18 /* 00002116 */
  3364. 00002100  554F                     subq.w     A7, 2
  3365. 00002102  42A7                     clr.l      -[A7]
  3366. 00002104  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  3367. 00002108  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3368. 0000210C  4EAD FF90                jsr        [A5 - 0x70]
  3369. 00002110  301F                     move.w     D0, [A7]+
  3370. 00002112  3800                     move.w     D4, D0
  3371. 00002114  6010                     bra        +0x12 /* 00002126 */
  3372. label00002116:
  3373. 00002116  554F                     subq.w     A7, 2
  3374. 00002118  42A7                     clr.l      -[A7]
  3375. 0000211A  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  3376. 0000211E  4EAD FEF8                jsr        [A5 - 0x108]
  3377. 00002122  301F                     move.w     D0, [A7]+
  3378. 00002124  3800                     move.w     D4, D0
  3379. label00002126:
  3380. 00002126  4A43                     tst.w      D3
  3381. 00002128  670A                     beq        +0xC /* 00002134 */
  3382. 0000212A  4A2F 00A0                tst.b      [A7 + 0xA0]
  3383. 0000212E  6704                     beq        +0x6 /* 00002134 */
  3384. 00002130  48C3                     ext.l      D3
  3385. 00002132  4483                     neg.l      D3
  3386. label00002134:
  3387. 00002134  3003                     move.w     D0, D3
  3388. label00002136:
  3389. 00002136  4FEF 00A2                lea.l      A7, [A7 + 0xA2]
  3390. 0000213A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3391. 0000213E  4E75                     rts
  3392. fn00002140:
  3393. 00002140  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  3394. 00002144  3B6F 000E EC36           move.w     [A5 - 0x13CA], [A7 + 0xE]
  3395. 0000214A  3B6F 0010 EB28           move.w     [A5 - 0x14D8], [A7 + 0x10]
  3396. 00002150  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3397. 00002154  3F2D EC36                move.w     -[A7], [A5 - 0x13CA]
  3398. 00002158  4EAD FE98                jsr        [A5 - 0x168]
  3399. 0000215C  2B48 EC32                move.l     [A5 - 0x13CE], A0
  3400. 00002160  B0FC 0000                cmpa.w     A0, 0x0
  3401. 00002164  584F                     addq.w     A7, 4
  3402. 00002166  6772                     beq        +0x74 /* 000021DA */
  3403. 00002168  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3404. 0000216C  3F3C 0001                move.w     -[A7], 0x1
  3405. 00002170  486F 000E                pea.l      [A7 + 0xE]
  3406. 00002174  486D EC2E                pea.l      [A5 - 0x13D2]
  3407. 00002178  486F 000E                pea.l      [A7 + 0xE]
  3408. 0000217C  A98D                     syscall    GetDialogItem/GetDItem
  3409. 0000217E  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3410. 00002182  3F3C 0002                move.w     -[A7], 0x2
  3411. 00002186  486F 000E                pea.l      [A7 + 0xE]
  3412. 0000218A  486D EC2A                pea.l      [A5 - 0x13D6]
  3413. 0000218E  486F 000E                pea.l      [A7 + 0xE]
  3414. 00002192  A98D                     syscall    GetDialogItem/GetDItem
  3415. 00002194  486D EB2A                pea.l      [A5 - 0x14D6]
  3416. 00002198  3F2D EC36                move.w     -[A7], [A5 - 0x13CA]
  3417. 0000219C  3F3C 0001                move.w     -[A7], 0x1
  3418. 000021A0  4EAD FF80                jsr        [A5 - 0x80]
  3419. 000021A4  4AAD EC2A                tst.l      [A5 - 0x13D6]
  3420. 000021A8  670A                     beq        +0xC /* 000021B4 */
  3421. 000021AA  2F2D EC2A                move.l     -[A7], [A5 - 0x13D6]
  3422. 000021AE  486D EB2A                pea.l      [A5 - 0x14D6]
  3423. 000021B2  A98F                     syscall    SetDialogItemText/SetIText
  3424. label000021B4:
  3425. 000021B4  3F3C 0007                move.w     -[A7], 0x7
  3426. 000021B8  4EAD FBA0                jsr        [A5 - 0x460]
  3427. 000021BC  4A00                     tst.b      D0
  3428. 000021BE  544F                     addq.w     A7, 2
  3429. 000021C0  6718                     beq        +0x1A /* 000021DA */
  3430. 000021C2  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3431. 000021C6  A915                     syscall    ShowWindow
  3432. 000021C8  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3433. 000021CC  A922                     syscall    BeginUpdate
  3434. 000021CE  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3435. 000021D2  A981                     syscall    DrawDialog
  3436. 000021D4  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3437. 000021D8  A923                     syscall    EndUpdate
  3438. label000021DA:
  3439. 000021DA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3440. 000021DE  4E75                     rts
  3441. fn000021E0:
  3442. 000021E0  2F03                     move.l     -[A7], D3
  3443. 000021E2  4FEF FFEA                lea.l      A7, [A7 - 0x16]
  3444. 000021E6  7600                     moveq.l    D3, 0x00
  3445. 000021E8  4AAD EC32                tst.l      [A5 - 0x13CE]
  3446. 000021EC  6700 00BC                beq        +0xBE /* 000022AA */
  3447. 000021F0  554F                     subq.w     A7, 2
  3448. 000021F2  3F3C 006E                move.w     -[A7], 0x6E /* 'n' */
  3449. 000021F6  486F 000A                pea.l      [A7 + 0xA]
  3450. 000021FA  A970                     syscall    GetNextEvent
  3451. 000021FC  101F                     move.b     D0, [A7]+
  3452. 000021FE  6700 00AA                beq        +0xAC /* 000022AA */
  3453. 00002202  7000                     moveq.l    D0, 0x00
  3454. 00002204  302F 0006                move.w     D0, [A7 + 0x6]
  3455. 00002208  5380                     subq.l     D0, 1
  3456. 0000220A  670C                     beq        +0xE /* 00002218 */
  3457. 0000220C  5580                     subq.l     D0, 2
  3458. 0000220E  673E                     beq        +0x40 /* 0000224E */
  3459. 00002210  5780                     subq.l     D0, 3
  3460. 00002212  676A                     beq        +0x6C /* 0000227E */
  3461. 00002214  6000 0094                bra        +0x96 /* 000022AA */
  3462. label00002218:
  3463. 00002218  554F                     subq.w     A7, 2
  3464. 0000221A  486F 0008                pea.l      [A7 + 0x8]
  3465. 0000221E  A97F                     syscall    IsDialogEvent
  3466. 00002220  101F                     move.b     D0, [A7]+
  3467. 00002222  6700 0086                beq        +0x88 /* 000022AA */
  3468. 00002226  554F                     subq.w     A7, 2
  3469. 00002228  486F 0008                pea.l      [A7 + 0x8]
  3470. 0000222C  486F 0006                pea.l      [A7 + 0x6]
  3471. 00002230  486F 000E                pea.l      [A7 + 0xE]
  3472. 00002234  A980                     syscall    DialogSelect
  3473. 00002236  101F                     move.b     D0, [A7]+
  3474. 00002238  6770                     beq        +0x72 /* 000022AA */
  3475. 0000223A  2057                     movea.l    A0, [A7]
  3476. 0000223C  B1ED EC32                cmpa.l     A0, [A5 - 0x13CE]
  3477. 00002240  6668                     bne        +0x6A /* 000022AA */
  3478. 00002242  0C6F 0001 0004           cmpi.w     [A7 + 0x4], 0x1
  3479. 00002248  6660                     bne        +0x62 /* 000022AA */
  3480. 0000224A  7601                     moveq.l    D3, 0x01
  3481. 0000224C  605C                     bra        +0x5E /* 000022AA */
  3482. label0000224E:
  3483. 0000224E  302F 0014                move.w     D0, [A7 + 0x14]
  3484. 00002252  0280 0000 0100           andi.l     D0, 0x100
  3485. 00002258  6750                     beq        +0x52 /* 000022AA */
  3486. 0000225A  202F 0008                move.l     D0, [A7 + 0x8]
  3487. 0000225E  0280 0000 00FF           andi.l     D0, 0xFF
  3488. 00002264  722E                     moveq.l    D1, 0x2E
  3489. 00002266  B081                     cmp.l      D0, D1
  3490. 00002268  6640                     bne        +0x42 /* 000022AA */
  3491. 0000226A  7601                     moveq.l    D3, 0x01
  3492. 0000226C  4AAD EC2E                tst.l      [A5 - 0x13D2]
  3493. 00002270  6738                     beq        +0x3A /* 000022AA */
  3494. 00002272  2F2D EC2E                move.l     -[A7], [A5 - 0x13D2]
  3495. 00002276  4EAD FBE8                jsr        [A5 - 0x418]
  3496. 0000227A  584F                     addq.w     A7, 4
  3497. 0000227C  602C                     bra        +0x2E /* 000022AA */
  3498. label0000227E:
  3499. 0000227E  206F 0008                movea.l    A0, [A7 + 0x8]
  3500. 00002282  B1ED EC32                cmpa.l     A0, [A5 - 0x13CE]
  3501. 00002286  6614                     bne        +0x16 /* 0000229C */
  3502. 00002288  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3503. 0000228C  A922                     syscall    BeginUpdate
  3504. 0000228E  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3505. 00002292  A981                     syscall    DrawDialog
  3506. 00002294  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3507. 00002298  A923                     syscall    EndUpdate
  3508. 0000229A  600E                     bra        +0x10 /* 000022AA */
  3509. label0000229C:
  3510. 0000229C  4EAD FCF8                jsr        [A5 - 0x308]
  3511. 000022A0  B1EF 0008                cmpa.l     A0, [A7 + 0x8]
  3512. 000022A4  6604                     bne        +0x6 /* 000022AA */
  3513. 000022A6  4EAD FCE0                jsr        [A5 - 0x320]
  3514. label000022AA:
  3515. 000022AA  1003                     move.b     D0, D3
  3516. 000022AC  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3517. 000022B0  261F                     move.l     D3, [A7]+
  3518. 000022B2  4E75                     rts
  3519. fn000022B4:
  3520. 000022B4  48E7 1030                movem.l    -[A7], D3,A2,A3
  3521. 000022B8  266F 0010                movea.l    A3, [A7 + 0x10]
  3522. 000022BC  246F 0014                movea.l    A2, [A7 + 0x14]
  3523. 000022C0  7600                     moveq.l    D3, 0x00
  3524. 000022C2  4AAD EC32                tst.l      [A5 - 0x13CE]
  3525. 000022C6  6764                     beq        +0x66 /* 0000232C */
  3526. 000022C8  4A13                     tst.b      [A3]
  3527. 000022CA  6756                     beq        +0x58 /* 00002322 */
  3528. 000022CC  4AAD EC2A                tst.l      [A5 - 0x13D6]
  3529. 000022D0  6750                     beq        +0x52 /* 00002322 */
  3530. 000022D2  554F                     subq.w     A7, 2
  3531. 000022D4  2F0A                     move.l     -[A7], A2
  3532. 000022D6  486D FA0A                pea.l      [A5 - 0x5F6]
  3533. 000022DA  1F3C 0001                move.b     -[A7], 0x1
  3534. 000022DE  1F3C 0001                move.b     -[A7], 0x1
  3535. 000022E2  4EAD FEC8                jsr        [A5 - 0x138]
  3536. 000022E6  101F                     move.b     D0, [A7]+
  3537. 000022E8  6638                     bne        +0x3A /* 00002322 */
  3538. 000022EA  2F0A                     move.l     -[A7], A2
  3539. 000022EC  2F0B                     move.l     -[A7], A3
  3540. 000022EE  486D FA10                pea.l      [A5 - 0x5F0]
  3541. 000022F2  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3542. 000022F6  A98B                     syscall    ParamText
  3543. 000022F8  486D EB2A                pea.l      [A5 - 0x14D6]
  3544. 000022FC  3F2D EC36                move.w     -[A7], [A5 - 0x13CA]
  3545. 00002300  7002                     moveq.l    D0, 0x02
  3546. 00002302  B0AF 0022                cmp.l      D0, [A7 + 0x22]
  3547. 00002306  6704                     beq        +0x6 /* 0000230C */
  3548. 00002308  7003                     moveq.l    D0, 0x03
  3549. 0000230A  6002                     bra        +0x4 /* 0000230E */
  3550. label0000230C:
  3551. 0000230C  7002                     moveq.l    D0, 0x02
  3552. label0000230E:
  3553. 0000230E  7200                     moveq.l    D1, 0x00
  3554. 00002310  1200                     move.b     D1, D0
  3555. 00002312  3F01                     move.w     -[A7], D1
  3556. 00002314  4EAD FF80                jsr        [A5 - 0x80]
  3557. 00002318  2F2D EC2A                move.l     -[A7], [A5 - 0x13D6]
  3558. 0000231C  486D EB2A                pea.l      [A5 - 0x14D6]
  3559. 00002320  A98F                     syscall    SetDialogItemText/SetIText
  3560. label00002322:
  3561. 00002322  422D E533                clr.b      [A5 - 0x1ACD]
  3562. 00002326  4EBA FEB8                jsr        [PC - 0x148 /* 000021E0 */]
  3563. 0000232A  1600                     move.b     D3, D0
  3564. label0000232C:
  3565. 0000232C  1003                     move.b     D0, D3
  3566. 0000232E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3567. 00002332  4E75                     rts
  3568. fn00002334:
  3569. 00002334  4AAD EC32                tst.l      [A5 - 0x13CE]
  3570. 00002338  6712                     beq        +0x14 /* 0000234C */
  3571. 0000233A  4AAD EC2A                tst.l      [A5 - 0x13D6]
  3572. 0000233E  670C                     beq        +0xE /* 0000234C */
  3573. 00002340  2F2D EC2A                move.l     -[A7], [A5 - 0x13D6]
  3574. 00002344  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3575. 00002348  A990                     syscall    GetDialogItemText/GetIText
  3576. 0000234A  6006                     bra        +0x8 /* 00002352 */
  3577. label0000234C:
  3578. 0000234C  206F 0004                movea.l    A0, [A7 + 0x4]
  3579. 00002350  4210                     clr.b      [A0]
  3580. label00002352:
  3581. 00002352  4E75                     rts
  3582. fn00002354:
  3583. 00002354  4AAD EC32                tst.l      [A5 - 0x13CE]
  3584. 00002358  6710                     beq        +0x12 /* 0000236A */
  3585. 0000235A  4AAD EC2A                tst.l      [A5 - 0x13D6]
  3586. 0000235E  670A                     beq        +0xC /* 0000236A */
  3587. 00002360  2F2D EC2A                move.l     -[A7], [A5 - 0x13D6]
  3588. 00002364  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3589. 00002368  A98F                     syscall    SetDialogItemText/SetIText
  3590. label0000236A:
  3591. 0000236A  4E75                     rts
  3592. 0000236C  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3593. 00002370  246F 0020                movea.l    A2, [A7 + 0x20]
  3594. 00002374  266F 001C                movea.l    A3, [A7 + 0x1C]
  3595. 00002378  7A00                     moveq.l    D5, 0x00
  3596. 0000237A  7600                     moveq.l    D3, 0x00
  3597. 0000237C  7000                     moveq.l    D0, 0x00
  3598. 0000237E  3013                     move.w     D0, [A3]
  3599. 00002380  5780                     subq.l     D0, 3
  3600. 00002382  6708                     beq        +0xA /* 0000238C */
  3601. 00002384  5780                     subq.l     D0, 3
  3602. 00002386  6758                     beq        +0x5A /* 000023E0 */
  3603. 00002388  6000 0088                bra        +0x8A /* 00002412 */
  3604. label0000238C:
  3605. 0000238C  282B 0002                move.l     D4, [A3 + 0x2]
  3606. 00002390  0284 0000 00FF           andi.l     D4, 0xFF
  3607. 00002396  302B 000E                move.w     D0, [A3 + 0xE]
  3608. 0000239A  0280 0000 0100           andi.l     D0, 0x100
  3609. 000023A0  672E                     beq        +0x30 /* 000023D0 */
  3610. 000023A2  0C04 0071                cmpi.b     D4, 0x71 /* 'q' */
  3611. 000023A6  6706                     beq        +0x8 /* 000023AE */
  3612. 000023A8  0C04 0051                cmpi.b     D4, 0x51 /* 'Q' */
  3613. 000023AC  6604                     bne        +0x6 /* 000023B2 */
  3614. label000023AE:
  3615. 000023AE  7601                     moveq.l    D3, 0x01
  3616. 000023B0  6060                     bra        +0x62 /* 00002412 */
  3617. label000023B2:
  3618. 000023B2  0C04 0063                cmpi.b     D4, 0x63 /* 'c' */
  3619. 000023B6  6706                     beq        +0x8 /* 000023BE */
  3620. 000023B8  0C04 0043                cmpi.b     D4, 0x43 /* 'C' */
  3621. 000023BC  6654                     bne        +0x56 /* 00002412 */
  3622. label000023BE:
  3623. 000023BE  3F3C 0001                move.w     -[A7], 0x1
  3624. 000023C2  4EAD FBA0                jsr        [A5 - 0x460]
  3625. 000023C6  4A00                     tst.b      D0
  3626. 000023C8  544F                     addq.w     A7, 2
  3627. 000023CA  6746                     beq        +0x48 /* 00002412 */
  3628. 000023CC  7602                     moveq.l    D3, 0x02
  3629. 000023CE  6042                     bra        +0x44 /* 00002412 */
  3630. label000023D0:
  3631. 000023D0  0C04 000D                cmpi.b     D4, 0xD /* '\r' */
  3632. 000023D4  6706                     beq        +0x8 /* 000023DC */
  3633. 000023D6  0C04 0003                cmpi.b     D4, 0x3
  3634. 000023DA  6636                     bne        +0x38 /* 00002412 */
  3635. label000023DC:
  3636. 000023DC  7601                     moveq.l    D3, 0x01
  3637. 000023DE  6032                     bra        +0x34 /* 00002412 */
  3638. label000023E0:
  3639. 000023E0  B5ED EB24                cmpa.l     A2, [A5 - 0x14DC]
  3640. 000023E4  6620                     bne        +0x22 /* 00002406 */
  3641. 000023E6  2F0A                     move.l     -[A7], A2
  3642. 000023E8  A922                     syscall    BeginUpdate
  3643. 000023EA  2F0A                     move.l     -[A7], A2
  3644. 000023EC  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  3645. 000023F0  A978                     syscall    UpdtDialog
  3646. 000023F2  3F3C 0001                move.w     -[A7], 0x1
  3647. 000023F6  2F0A                     move.l     -[A7], A2
  3648. 000023F8  4EAD FE90                jsr        [A5 - 0x170]
  3649. 000023FC  2F0A                     move.l     -[A7], A2
  3650. 000023FE  A923                     syscall    EndUpdate
  3651. 00002400  4253                     clr.w      [A3]
  3652. 00002402  5C4F                     addq.w     A7, 6
  3653. 00002404  600C                     bra        +0xE /* 00002412 */
  3654. label00002406:
  3655. 00002406  4EAD FCF8                jsr        [A5 - 0x308]
  3656. 0000240A  B5C8                     cmpa.l     A2, A0
  3657. 0000240C  6604                     bne        +0x6 /* 00002412 */
  3658. 0000240E  4EAD FCE0                jsr        [A5 - 0x320]
  3659. label00002412:
  3660. 00002412  4A43                     tst.w      D3
  3661. 00002414  6716                     beq        +0x18 /* 0000242C */
  3662. 00002416  3F03                     move.w     -[A7], D3
  3663. 00002418  2F0A                     move.l     -[A7], A2
  3664. 0000241A  4EAD FBE0                jsr        [A5 - 0x420]
  3665. 0000241E  4A00                     tst.b      D0
  3666. 00002420  5C4F                     addq.w     A7, 6
  3667. 00002422  6708                     beq        +0xA /* 0000242C */
  3668. 00002424  206F 0018                movea.l    A0, [A7 + 0x18]
  3669. 00002428  3083                     move.w     [A0], D3
  3670. 0000242A  7A01                     moveq.l    D5, 0x01
  3671. label0000242C:
  3672. 0000242C  1F45 0024                move.b     [A7 + 0x24], D5
  3673. 00002430  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3674. 00002434  205F                     movea.l    A0, [A7]+
  3675. 00002436  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3676. 0000243A  4ED0                     jmp        [A0]
  3677. fn0000243C:
  3678. 0000243C  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  3679. 00002440  4FEF FFD4                lea.l      A7, [A7 - 0x2C]
  3680. 00002444  362F 0050                move.w     D3, [A7 + 0x50]
  3681. 00002448  2C6F 0052                movea.l    A6, [A7 + 0x52]
  3682. 0000244C  246F 0056                movea.l    A2, [A7 + 0x56]
  3683. 00002450  382F 005A                move.w     D4, [A7 + 0x5A]
  3684. 00002454  286F 005C                movea.l    A4, [A7 + 0x5C]
  3685. 00002458  7A00                     moveq.l    D5, 0x00
  3686. 0000245A  4214                     clr.b      [A4]
  3687. 0000245C  4A43                     tst.w      D3
  3688. 0000245E  6702                     beq        +0x4 /* 00002462 */
  3689. 00002460  7800                     moveq.l    D4, 0x00
  3690. label00002462:
  3691. 00002462  4AAD EC32                tst.l      [A5 - 0x13CE]
  3692. 00002466  6710                     beq        +0x12 /* 00002478 */
  3693. 00002468  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3694. 0000246C  A916                     syscall    HideWindow
  3695. 0000246E  2F2D EC32                move.l     -[A7], [A5 - 0x13CE]
  3696. 00002472  A983                     syscall    DisposeDialog
  3697. 00002474  42AD EC32                clr.l      [A5 - 0x13CE]
  3698. label00002478:
  3699. 00002478  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3700. 0000247C  3F2D EB28                move.w     -[A7], [A5 - 0x14D8]
  3701. 00002480  4EAD FE98                jsr        [A5 - 0x168]
  3702. 00002484  2B48 EB24                move.l     [A5 - 0x14DC], A0
  3703. 00002488  B0FC 0000                cmpa.w     A0, 0x0
  3704. 0000248C  584F                     addq.w     A7, 4
  3705. 0000248E  6700 023E                beq        +0x240 /* 000026CE */
  3706. 00002492  3F3C 0008                move.w     -[A7], 0x8
  3707. 00002496  4EAD FBA0                jsr        [A5 - 0x460]
  3708. 0000249A  4A00                     tst.b      D0
  3709. 0000249C  544F                     addq.w     A7, 2
  3710. 0000249E  6704                     beq        +0x6 /* 000024A4 */
  3711. 000024A0  4A43                     tst.w      D3
  3712. 000024A2  6716                     beq        +0x18 /* 000024BA */
  3713. label000024A4:
  3714. 000024A4  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  3715. 000024A8  4EAD FBA0                jsr        [A5 - 0x460]
  3716. 000024AC  4A00                     tst.b      D0
  3717. 000024AE  544F                     addq.w     A7, 2
  3718. 000024B0  6704                     beq        +0x6 /* 000024B6 */
  3719. 000024B2  4A43                     tst.w      D3
  3720. 000024B4  6604                     bne        +0x6 /* 000024BA */
  3721. label000024B6:
  3722. 000024B6  7000                     moveq.l    D0, 0x00
  3723. 000024B8  6002                     bra        +0x4 /* 000024BC */
  3724. label000024BA:
  3725. 000024BA  7001                     moveq.l    D0, 0x01
  3726. label000024BC:
  3727. 000024BC  1C00                     move.b     D6, D0
  3728. 000024BE  47ED FD68                lea.l      A3, [A5 - 0x298]
  3729. 000024C2  4A06                     tst.b      D6
  3730. 000024C4  6700 0186                beq        +0x188 /* 0000264C */
  3731. 000024C8  0C43 03E7                cmpi.w     D3, 0x3E7
  3732. 000024CC  6700 017E                beq        +0x180 /* 0000264C */
  3733. 000024D0  4A44                     tst.w      D4
  3734. 000024D2  6600 0178                bne        +0x17A /* 0000264C */
  3735. 000024D6  200B                     move.l     D0, A3
  3736. 000024D8  4A80                     tst.l      D0
  3737. 000024DA  6700 0170                beq        +0x172 /* 0000264C */
  3738. 000024DE  3F3C 0001                move.w     -[A7], 0x1
  3739. 000024E2  4EAD FBA0                jsr        [A5 - 0x460]
  3740. 000024E6  1C00                     move.b     D6, D0
  3741. 000024E8  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3742. 000024EC  3F3C 0001                move.w     -[A7], 0x1
  3743. 000024F0  486F 0012                pea.l      [A7 + 0x12]
  3744. 000024F4  486D EB20                pea.l      [A5 - 0x14E0]
  3745. 000024F8  486F 0012                pea.l      [A7 + 0x12]
  3746. 000024FC  A98D                     syscall    GetDialogItem/GetDItem
  3747. 000024FE  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3748. 00002502  3F3C 0002                move.w     -[A7], 0x2
  3749. 00002506  486F 0012                pea.l      [A7 + 0x12]
  3750. 0000250A  486D EB1C                pea.l      [A5 - 0x14E4]
  3751. 0000250E  486F 0012                pea.l      [A7 + 0x12]
  3752. 00002512  A98D                     syscall    GetDialogItem/GetDItem
  3753. 00002514  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3754. 00002518  3F3C 0003                move.w     -[A7], 0x3
  3755. 0000251C  486F 0012                pea.l      [A7 + 0x12]
  3756. 00002520  486D EB18                pea.l      [A5 - 0x14E8]
  3757. 00002524  486F 0012                pea.l      [A7 + 0x12]
  3758. 00002528  A98D                     syscall    GetDialogItem/GetDItem
  3759. 0000252A  4878 002E                push.l     0x2E /* '.' */
  3760. 0000252E  201F                     move.l     D0, [A7]+
  3761. 00002530  A032                     syscall    FlushEvents
  3762. 00002532  3043                     movea.w    A0, D3
  3763. 00002534  2F08                     move.l     -[A7], A0
  3764. 00002536  486F 0012                pea.l      [A7 + 0x12]
  3765. 0000253A  4EAD FF60                jsr        [A5 - 0xA0]
  3766. 0000253E  2F0E                     move.l     -[A7], A6
  3767. 00002540  486D FA0A                pea.l      [A5 - 0x5F6]
  3768. 00002544  1F3C 0001                move.b     -[A7], 0x1
  3769. 00002548  1F3C 0001                move.b     -[A7], 0x1
  3770. 0000254C  4EAD FEC8                jsr        [A5 - 0x138]
  3771. 00002550  101F                     move.b     D0, [A7]+
  3772. 00002552  6610                     bne        +0x12 /* 00002564 */
  3773. 00002554  2F0E                     move.l     -[A7], A6
  3774. 00002556  2F0A                     move.l     -[A7], A2
  3775. 00002558  486F 0014                pea.l      [A7 + 0x14]
  3776. 0000255C  486D FA10                pea.l      [A5 - 0x5F0]
  3777. 00002560  A98B                     syscall    ParamText
  3778. 00002562  6010                     bra        +0x12 /* 00002574 */
  3779. label00002564:
  3780. 00002564  486D FA11                pea.l      [A5 - 0x5EF]
  3781. 00002568  2F0A                     move.l     -[A7], A2
  3782. 0000256A  486F 0014                pea.l      [A7 + 0x14]
  3783. 0000256E  486D FA10                pea.l      [A5 - 0x5F0]
  3784. 00002572  A98B                     syscall    ParamText
  3785. label00002574:
  3786. 00002574  4A43                     tst.w      D3
  3787. 00002576  6D28                     blt        +0x2A /* 000025A0 */
  3788. 00002578  4A43                     tst.w      D3
  3789. 0000257A  6612                     bne        +0x14 /* 0000258E */
  3790. 0000257C  4A06                     tst.b      D6
  3791. 0000257E  6604                     bne        +0x6 /* 00002584 */
  3792. 00002580  7002                     moveq.l    D0, 0x02
  3793. 00002582  6002                     bra        +0x4 /* 00002586 */
  3794. label00002584:
  3795. 00002584  7001                     moveq.l    D0, 0x01
  3796. label00002586:
  3797. 00002586  7200                     moveq.l    D1, 0x00
  3798. 00002588  1200                     move.b     D1, D0
  3799. 0000258A  3601                     move.w     D3, D1
  3800. 0000258C  6002                     bra        +0x4 /* 00002590 */
  3801. label0000258E:
  3802. 0000258E  7603                     moveq.l    D3, 0x03
  3803. label00002590:
  3804. 00002590  486D EA18                pea.l      [A5 - 0x15E8]
  3805. 00002594  3F2D EB28                move.w     -[A7], [A5 - 0x14D8]
  3806. 00002598  3F03                     move.w     -[A7], D3
  3807. 0000259A  4EAD FF80                jsr        [A5 - 0x80]
  3808. 0000259E  6010                     bra        +0x12 /* 000025B0 */
  3809. label000025A0:
  3810. 000025A0  3F03                     move.w     -[A7], D3
  3811. 000025A2  3F3C 7D00                move.w     -[A7], 0x7D00 /* '}\0' */
  3812. 000025A6  486D EA18                pea.l      [A5 - 0x15E8]
  3813. 000025AA  4EBA E2F0                jsr        [PC - 0x1D10 /* 0000089C */]
  3814. 000025AE  504F                     addq.w     A7, 8
  3815. label000025B0:
  3816. 000025B0  4A2D EA18                tst.b      [A5 - 0x15E8]
  3817. 000025B4  6610                     bne        +0x12 /* 000025C6 */
  3818. 000025B6  486D EA18                pea.l      [A5 - 0x15E8]
  3819. 000025BA  3F2D EB28                move.w     -[A7], [A5 - 0x14D8]
  3820. 000025BE  3F3C 0004                move.w     -[A7], 0x4
  3821. 000025C2  4EAD FF80                jsr        [A5 - 0x80]
  3822. label000025C6:
  3823. 000025C6  4AAD EB18                tst.l      [A5 - 0x14E8]
  3824. 000025CA  670A                     beq        +0xC /* 000025D6 */
  3825. 000025CC  2F2D EB18                move.l     -[A7], [A5 - 0x14E8]
  3826. 000025D0  486D EA18                pea.l      [A5 - 0x15E8]
  3827. 000025D4  A98F                     syscall    SetDialogItemText/SetIText
  3828. label000025D6:
  3829. 000025D6  4AAD EB1C                tst.l      [A5 - 0x14E4]
  3830. 000025DA  670A                     beq        +0xC /* 000025E6 */
  3831. 000025DC  4A06                     tst.b      D6
  3832. 000025DE  6606                     bne        +0x8 /* 000025E6 */
  3833. 000025E0  2F2D EB1C                move.l     -[A7], [A5 - 0x14E4]
  3834. 000025E4  A958                     syscall    HideControl
  3835. label000025E6:
  3836. 000025E6  3F3C 0005                move.w     -[A7], 0x5
  3837. 000025EA  A9C8                     syscall    SysBeep
  3838. 000025EC  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3839. 000025F0  A915                     syscall    ShowWindow
  3840. 000025F2  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3841. 000025F6  A922                     syscall    BeginUpdate
  3842. 000025F8  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3843. 000025FC  206D EB24                movea.l    A0, [A5 - 0x14DC]
  3844. 00002600  2F28 0018                move.l     -[A7], [A0 + 0x18]
  3845. 00002604  A978                     syscall    UpdtDialog
  3846. 00002606  3F3C 0001                move.w     -[A7], 0x1
  3847. 0000260A  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3848. 0000260E  4EAD FE90                jsr        [A5 - 0x170]
  3849. 00002612  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3850. 00002616  A923                     syscall    EndUpdate
  3851. 00002618  1B7C 0001 E533           move.b     [A5 - 0x1ACD], 0x1
  3852. 0000261E  486D E4A8                pea.l      [A5 - 0x1B58]
  3853. 00002622  A851                     syscall    SetCursor
  3854. 00002624  7600                     moveq.l    D3, 0x00
  3855. 00002626  5C4F                     addq.w     A7, 6
  3856. 00002628  601E                     bra        +0x20 /* 00002648 */
  3857. label0000262A:
  3858. 0000262A  2F0B                     move.l     -[A7], A3
  3859. 0000262C  486F 0004                pea.l      [A7 + 0x4]
  3860. 00002630  A991                     syscall    ModalDialog
  3861. 00002632  3017                     move.w     D0, [A7]
  3862. 00002634  48C0                     ext.l      D0
  3863. 00002636  5380                     subq.l     D0, 1
  3864. 00002638  6706                     beq        +0x8 /* 00002640 */
  3865. 0000263A  5380                     subq.l     D0, 1
  3866. 0000263C  6708                     beq        +0xA /* 00002646 */
  3867. 0000263E  6008                     bra        +0xA /* 00002648 */
  3868. label00002640:
  3869. 00002640  7601                     moveq.l    D3, 0x01
  3870. 00002642  7A01                     moveq.l    D5, 0x01
  3871. 00002644  6002                     bra        +0x4 /* 00002648 */
  3872. label00002646:
  3873. 00002646  7601                     moveq.l    D3, 0x01
  3874. label00002648:
  3875. 00002648  4A43                     tst.w      D3
  3876. 0000264A  67DE                     beq        -0x20 /* 0000262A */
  3877. label0000264C:
  3878. 0000264C  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3879. 00002650  A916                     syscall    HideWindow
  3880. 00002652  2F2D EB24                move.l     -[A7], [A5 - 0x14DC]
  3881. 00002656  A983                     syscall    DisposeDialog
  3882. 00002658  42AD EB24                clr.l      [A5 - 0x14DC]
  3883. 0000265C  4878 002E                push.l     0x2E /* '.' */
  3884. 00002660  201F                     move.l     D0, [A7]+
  3885. 00002662  A032                     syscall    FlushEvents
  3886. 00002664  3F3C 0006                move.w     -[A7], 0x6
  3887. 00002668  4EAD FBA0                jsr        [A5 - 0x460]
  3888. 0000266C  1600                     move.b     D3, D0
  3889. 0000266E  0C44 0002                cmpi.w     D4, 0x2
  3890. 00002672  544F                     addq.w     A7, 2
  3891. 00002674  6626                     bne        +0x28 /* 0000269C */
  3892. 00002676  4A03                     tst.b      D3
  3893. 00002678  671C                     beq        +0x1E /* 00002696 */
  3894. 0000267A  2F0A                     move.l     -[A7], A2
  3895. 0000267C  486D FA10                pea.l      [A5 - 0x5F0]
  3896. 00002680  486D FA10                pea.l      [A5 - 0x5F0]
  3897. 00002684  486D FA10                pea.l      [A5 - 0x5F0]
  3898. 00002688  A98B                     syscall    ParamText
  3899. 0000268A  2F3C 7D06 0001           move.l     -[A7], 0x7D060001
  3900. 00002690  4EAD FBA8                jsr        [A5 - 0x458]
  3901. 00002694  584F                     addq.w     A7, 4
  3902. label00002696:
  3903. 00002696  18BC 0001                move.b     [A4], 0x1
  3904. 0000269A  6032                     bra        +0x34 /* 000026CE */
  3905. label0000269C:
  3906. 0000269C  0C44 0001                cmpi.w     D4, 0x1
  3907. 000026A0  662C                     bne        +0x2E /* 000026CE */
  3908. 000026A2  2F0A                     move.l     -[A7], A2
  3909. 000026A4  486D FA10                pea.l      [A5 - 0x5F0]
  3910. 000026A8  486D FA10                pea.l      [A5 - 0x5F0]
  3911. 000026AC  486D FA10                pea.l      [A5 - 0x5F0]
  3912. 000026B0  A98B                     syscall    ParamText
  3913. 000026B2  4A03                     tst.b      D3
  3914. 000026B4  6710                     beq        +0x12 /* 000026C6 */
  3915. 000026B6  2F3C 7D05 0001           move.l     -[A7], 0x7D050001
  3916. 000026BC  4EAD FBB0                jsr        [A5 - 0x450]
  3917. 000026C0  4A00                     tst.b      D0
  3918. 000026C2  584F                     addq.w     A7, 4
  3919. 000026C4  6604                     bne        +0x6 /* 000026CA */
  3920. label000026C6:
  3921. 000026C6  4A03                     tst.b      D3
  3922. 000026C8  6604                     bne        +0x6 /* 000026CE */
  3923. label000026CA:
  3924. 000026CA  18BC 0001                move.b     [A4], 0x1
  3925. label000026CE:
  3926. 000026CE  1005                     move.b     D0, D5
  3927. 000026D0  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3928. 000026D4  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  3929. 000026D8  4E75                     rts
  3930. fn000026DA:
  3931. 000026DA  2F03                     move.l     -[A7], D3
  3932. 000026DC  7600                     moveq.l    D3, 0x00
  3933. 000026DE  486D ED7C                pea.l      [A5 - 0x1284]
  3934. 000026E2  3F3C 7D05                move.w     -[A7], 0x7D05
  3935. 000026E6  206F 000E                movea.l    A0, [A7 + 0xE]
  3936. 000026EA  3028 0002                move.w     D0, [A0 + 0x2]
  3937. 000026EE  48C0                     ext.l      D0
  3938. 000026F0  5280                     addq.l     D0, 1
  3939. 000026F2  3F00                     move.w     -[A7], D0
  3940. 000026F4  4EAD FF80                jsr        [A5 - 0x80]
  3941. 000026F8  486D EC7C                pea.l      [A5 - 0x1384]
  3942. 000026FC  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  3943. 00002700  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  3944. 00002704  4EAD FBB8                jsr        [A5 - 0x448]
  3945. 00002708  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  3946. 0000270C  486D EC7C                pea.l      [A5 - 0x1384]
  3947. 00002710  486D EC3C                pea.l      [A5 - 0x13C4]
  3948. 00002714  486D ED7C                pea.l      [A5 - 0x1284]
  3949. 00002718  4EBA FB9A                jsr        [PC - 0x466 /* 000022B4 */]
  3950. 0000271C  4A00                     tst.b      D0
  3951. 0000271E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3952. 00002722  6702                     beq        +0x4 /* 00002726 */
  3953. 00002724  7601                     moveq.l    D3, 0x01
  3954. label00002726:
  3955. 00002726  3003                     move.w     D0, D3
  3956. 00002728  261F                     move.l     D3, [A7]+
  3957. 0000272A  4E75                     rts
  3958. fn0000272C:
  3959. 0000272C  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3960. 00002730  594F                     subq.w     A7, 4
  3961. 00002732  2C6F 0020                movea.l    A6, [A7 + 0x20]
  3962. 00002736  286F 0024                movea.l    A4, [A7 + 0x24]
  3963. 0000273A  244E                     movea.l    A2, A6
  3964. 0000273C  528A                     addq.l     A2, 1
  3965. 0000273E  264C                     movea.l    A3, A4
  3966. 00002740  528B                     addq.l     A3, 1
  3967. 00002742  7600                     moveq.l    D3, 0x00
  3968. 00002744  7800                     moveq.l    D4, 0x00
  3969. 00002746  1816                     move.b     D4, [A6]
  3970. 00002748  D5C4                     add.l      A2, D4
  3971. 0000274A  6002                     bra        +0x4 /* 0000274E */
  3972. label0000274C:
  3973. 0000274C  5243                     addq.w     D3, 1
  3974. label0000274E:
  3975. 0000274E  2004                     move.l     D0, D4
  3976. 00002750  5384                     subq.l     D4, 1
  3977. 00002752  4A80                     tst.l      D0
  3978. 00002754  6F06                     ble        +0x8 /* 0000275C */
  3979. 00002756  0C22 003A                cmpi.b     -[A2], 0x3A /* ':' */
  3980. 0000275A  66F0                     bne        -0xE /* 0000274C */
  3981. label0000275C:
  3982. 0000275C  0C43 0020                cmpi.w     D3, 0x20 /* ' ' */
  3983. 00002760  6D08                     blt        +0xA /* 0000276A */
  3984. 00002762  761F                     moveq.l    D3, 0x1F
  3985. 00002764  6004                     bra        +0x6 /* 0000276A */
  3986. label00002766:
  3987. 00002766  528A                     addq.l     A2, 1
  3988. 00002768  16D2                     move.b     [A3]+, [A2]
  3989. label0000276A:
  3990. 0000276A  3003                     move.w     D0, D3
  3991. 0000276C  5343                     subq.w     D3, 1
  3992. 0000276E  4A40                     tst.w      D0
  3993. 00002770  66F4                     bne        -0xA /* 00002766 */
  3994. 00002772  594F                     subq.w     A7, 4
  3995. 00002774  2F0C                     move.l     -[A7], A4
  3996. 00002776  4EAD FF68                jsr        [A5 - 0x98]
  3997. 0000277A  205F                     movea.l    A0, [A7]+
  3998. 0000277C  2E88                     move.l     [A7], A0
  3999. 0000277E  594F                     subq.w     A7, 4
  4000. 00002780  2F0B                     move.l     -[A7], A3
  4001. 00002782  4EAD FF68                jsr        [A5 - 0x98]
  4002. 00002786  205F                     movea.l    A0, [A7]+
  4003. 00002788  91D7                     sub.l      A0, [A7]
  4004. 0000278A  5388                     subq.l     A0, 1
  4005. 0000278C  2008                     move.l     D0, A0
  4006. 0000278E  1880                     move.b     [A4], D0
  4007. 00002790  584F                     addq.w     A7, 4
  4008. 00002792  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4009. 00002796  4E75                     rts
  4010. fn00002798:
  4011. 00002798  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4012. 0000279C  4FEF FF1A                lea.l      A7, [A7 - 0xE6]
  4013. 000027A0  286F 00FE                movea.l    A4, [A7 + 0xFE]
  4014. 000027A4  266F 0102                movea.l    A3, [A7 + 0x102]
  4015. 000027A8  246F 0106                movea.l    A2, [A7 + 0x106]
  4016. 000027AC  2C6F 010A                movea.l    A6, [A7 + 0x10A]
  4017. 000027B0  7600                     moveq.l    D3, 0x00
  4018. 000027B2  4253                     clr.w      [A3]
  4019. 000027B4  4292                     clr.l      [A2]
  4020. 000027B6  4216                     clr.b      [A6]
  4021. 000027B8  4A6C 0004                tst.w      [A4 + 0x4]
  4022. 000027BC  6634                     bne        +0x36 /* 000027F2 */
  4023. 000027BE  41EC 0006                lea.l      A0, [A4 + 0x6]
  4024. 000027C2  43ED F0E0                lea.l      A1, [A5 - 0xF20]
  4025. 000027C6  203C 0000 0100           move.l     D0, 0x100
  4026. 000027CC  A02E                     syscall    BlockMove/BlockMoveData
  4027. 000027CE  41ED F0E0                lea.l      A0, [A5 - 0xF20]
  4028. 000027D2  2F48 0012                move.l     [A7 + 0x12], A0
  4029. 000027D6  3F7C 8000 0016           move.w     [A7 + 0x16], 0x8000
  4030. 000027DC  3F7C FFFF 001C           move.w     [A7 + 0x1C], 0xFFFF
  4031. 000027E2  41D7                     lea.l      A0, [A7]
  4032. 000027E4  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  4033. 000027E6  3600                     move.w     D3, D0
  4034. 000027E8  4A43                     tst.w      D3
  4035. 000027EA  662C                     bne        +0x2E /* 00002818 */
  4036. 000027EC  36AF 0016                move.w     [A3], [A7 + 0x16]
  4037. 000027F0  6026                     bra        +0x28 /* 00002818 */
  4038. label000027F2:
  4039. 000027F2  0C6C 0001 0004           cmpi.w     [A4 + 0x4], 0x1
  4040. 000027F8  660A                     bne        +0xC /* 00002804 */
  4041. 000027FA  36AD E906                move.w     [A3], [A5 - 0x16FA]
  4042. 000027FE  24AD E902                move.l     [A2], [A5 - 0x16FE]
  4043. 00002802  6014                     bra        +0x16 /* 00002818 */
  4044. label00002804:
  4045. 00002804  0C6C 0002 0004           cmpi.w     [A4 + 0x4], 0x2
  4046. 0000280A  660A                     bne        +0xC /* 00002816 */
  4047. 0000280C  36AD EE80                move.w     [A3], [A5 - 0x1180]
  4048. 00002810  24AD EE7C                move.l     [A2], [A5 - 0x1184]
  4049. 00002814  6002                     bra        +0x4 /* 00002818 */
  4050. label00002816:
  4051. 00002816  76FF                     moveq.l    D3, 0xFFFFFFFF
  4052. label00002818:
  4053. 00002818  4A43                     tst.w      D3
  4054. 0000281A  663E                     bne        +0x40 /* 0000285A */
  4055. 0000281C  41EC 0006                lea.l      A0, [A4 + 0x6]
  4056. 00002820  43ED F0E0                lea.l      A1, [A5 - 0xF20]
  4057. 00002824  203C 0000 0100           move.l     D0, 0x100
  4058. 0000282A  A02E                     syscall    BlockMove/BlockMoveData
  4059. 0000282C  3F53 0090                move.w     [A7 + 0x90], [A3]
  4060. 00002830  2F52 00AA                move.l     [A7 + 0xAA], [A2]
  4061. 00002834  41ED F0E0                lea.l      A0, [A5 - 0xF20]
  4062. 00002838  2F48 008C                move.l     [A7 + 0x8C], A0
  4063. 0000283C  426F 0096                clr.w      [A7 + 0x96]
  4064. 00002840  41EF 007A                lea.l      A0, [A7 + 0x7A]
  4065. 00002844  7009                     moveq.l    D0, 0x09
  4066. 00002846  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4067. 00002848  3600                     move.w     D3, D0
  4068. 0000284A  4A43                     tst.w      D3
  4069. 0000284C  660C                     bne        +0xE /* 0000285A */
  4070. 0000284E  102F 0098                move.b     D0, [A7 + 0x98]
  4071. 00002852  7210                     moveq.l    D1, 0x10
  4072. 00002854  C081                     and.l      D0, D1
  4073. 00002856  6702                     beq        +0x4 /* 0000285A */
  4074. 00002858  76D5                     moveq.l    D3, 0xFFFFFFD5
  4075. label0000285A:
  4076. 0000285A  4A43                     tst.w      D3
  4077. 0000285C  6610                     bne        +0x12 /* 0000286E */
  4078. 0000285E  24AF 00DE                move.l     [A2], [A7 + 0xDE]
  4079. 00002862  2F0E                     move.l     -[A7], A6
  4080. 00002864  486D F0E0                pea.l      [A5 - 0xF20]
  4081. 00002868  4EBA FEC2                jsr        [PC - 0x13E /* 0000272C */]
  4082. 0000286C  504F                     addq.w     A7, 8
  4083. label0000286E:
  4084. 0000286E  3003                     move.w     D0, D3
  4085. 00002870  4FEF 00E6                lea.l      A7, [A7 + 0xE6]
  4086. 00002874  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4087. 00002878  4E75                     rts
  4088. fn0000287A:
  4089. 0000287A  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  4090. 0000287E  7600                     moveq.l    D3, 0x00
  4091. 00002880  554F                     subq.w     A7, 2
  4092. 00002882  A994                     syscall    CurResFile
  4093. 00002884  301F                     move.w     D0, [A7]+
  4094. 00002886  3A00                     move.w     D5, D0
  4095. 00002888  4227                     clr.b      -[A7]
  4096. 0000288A  A99B                     syscall    SetResLoad
  4097. 0000288C  554F                     subq.w     A7, 2
  4098. 0000288E  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  4099. 00002892  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4100. 00002896  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  4101. 0000289A  1F3C 0001                move.b     -[A7], 0x1
  4102. 0000289E  4EAD FFD8                jsr        [A5 - 0x28]
  4103. 000028A2  301F                     move.w     D0, [A7]+
  4104. 000028A4  3800                     move.w     D4, D0
  4105. 000028A6  554F                     subq.w     A7, 2
  4106. 000028A8  A9AF                     syscall    ResError
  4107. 000028AA  301F                     move.w     D0, [A7]+
  4108. 000028AC  3600                     move.w     D3, D0
  4109. 000028AE  1F3C 0001                move.b     -[A7], 0x1
  4110. 000028B2  A99B                     syscall    SetResLoad
  4111. 000028B4  0C44 FFFF                cmpi.w     D4, 0xFFFF
  4112. 000028B8  6736                     beq        +0x38 /* 000028F0 */
  4113. 000028BA  594F                     subq.w     A7, 4
  4114. 000028BC  2F3C 7665 7273           move.l     -[A7], 0x76657273 /* 'vers' */
  4115. 000028C2  3F3C 0001                move.w     -[A7], 0x1
  4116. 000028C6  A81F                     syscall    Get1Resource
  4117. 000028C8  205F                     movea.l    A0, [A7]+
  4118. 000028CA  2448                     movea.l    A2, A0
  4119. 000028CC  200A                     move.l     D0, A2
  4120. 000028CE  4A80                     tst.l      D0
  4121. 000028D0  670A                     beq        +0xC /* 000028DC */
  4122. 000028D2  2052                     movea.l    A0, [A2]
  4123. 000028D4  226F 001E                movea.l    A1, [A7 + 0x1E]
  4124. 000028D8  2290                     move.l     [A1], [A0]
  4125. 000028DA  6010                     bra        +0x12 /* 000028EC */
  4126. label000028DC:
  4127. 000028DC  554F                     subq.w     A7, 2
  4128. 000028DE  A9AF                     syscall    ResError
  4129. 000028E0  301F                     move.w     D0, [A7]+
  4130. 000028E2  3600                     move.w     D3, D0
  4131. 000028E4  4A43                     tst.w      D3
  4132. 000028E6  6604                     bne        +0x6 /* 000028EC */
  4133. 000028E8  363C FF40                move.w     D3, 0xFF40
  4134. label000028EC:
  4135. 000028EC  3F04                     move.w     -[A7], D4
  4136. 000028EE  A99A                     syscall    CloseResFile
  4137. label000028F0:
  4138. 000028F0  3F05                     move.w     -[A7], D5
  4139. 000028F2  A998                     syscall    UseResFile
  4140. 000028F4  3003                     move.w     D0, D3
  4141. 000028F6  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  4142. 000028FA  4E75                     rts
  4143. fn000028FC:
  4144. 000028FC  48E7 1030                movem.l    -[A7], D3,A2,A3
  4145. 00002900  4FEF FFBA                lea.l      A7, [A7 - 0x46]
  4146. 00002904  246F 0056                movea.l    A2, [A7 + 0x56]
  4147. 00002908  266F 005E                movea.l    A3, [A7 + 0x5E]
  4148. 0000290C  4AAA 007C                tst.l      [A2 + 0x7C]
  4149. 00002910  6608                     bne        +0xA /* 0000291A */
  4150. 00002912  203C 6172 6368           move.l     D0, 0x61726368 /* 'arch' */
  4151. 00002918  6006                     bra        +0x8 /* 00002920 */
  4152. label0000291A:
  4153. 0000291A  206A 007C                movea.l    A0, [A2 + 0x7C]
  4154. 0000291E  2010                     move.l     D0, [A0]
  4155. label00002920:
  4156. 00002920  2600                     move.l     D3, D0
  4157. 00002922  0C83 6172 6368           cmpi.l     D3, 0x61726368 /* 'arch' */
  4158. 00002928  6712                     beq        +0x14 /* 0000293C */
  4159. 0000292A  0C83 6C6F 6F73           cmpi.l     D3, 0x6C6F6F73 /* 'loos' */
  4160. 00002930  671A                     beq        +0x1C /* 0000294C */
  4161. 00002932  0C83 6674 7020           cmpi.l     D3, 0x66747020 /* 'ftp ' */
  4162. 00002938  6748                     beq        +0x4A /* 00002982 */
  4163. 0000293A  605C                     bra        +0x5E /* 00002998 */
  4164. label0000293C:
  4165. 0000293C  2F0B                     move.l     -[A7], A3
  4166. 0000293E  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  4167. 00002942  4EAD FE48                jsr        [A5 - 0x1B8]
  4168. 00002946  3600                     move.w     D3, D0
  4169. 00002948  504F                     addq.w     A7, 8
  4170. 0000294A  604E                     bra        +0x50 /* 0000299A */
  4171. label0000294C:
  4172. 0000294C  4857                     pea.l      [A7]
  4173. 0000294E  486F 0044                pea.l      [A7 + 0x44]
  4174. 00002952  486F 004C                pea.l      [A7 + 0x4C]
  4175. 00002956  2F2A 007C                move.l     -[A7], [A2 + 0x7C]
  4176. 0000295A  4EBA FE3C                jsr        [PC - 0x1C4 /* 00002798 */]
  4177. 0000295E  3600                     move.w     D3, D0
  4178. 00002960  4A43                     tst.w      D3
  4179. 00002962  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4180. 00002966  6632                     bne        +0x34 /* 0000299A */
  4181. 00002968  2F0B                     move.l     -[A7], A3
  4182. 0000296A  486F 0004                pea.l      [A7 + 0x4]
  4183. 0000296E  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  4184. 00002972  3F2F 0050                move.w     -[A7], [A7 + 0x50]
  4185. 00002976  4EBA FF02                jsr        [PC - 0xFE /* 0000287A */]
  4186. 0000297A  3600                     move.w     D3, D0
  4187. 0000297C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4188. 00002980  6018                     bra        +0x1A /* 0000299A */
  4189. label00002982:
  4190. 00002982  486D FD60                pea.l      [A5 - 0x2A0]
  4191. 00002986  2F0B                     move.l     -[A7], A3
  4192. 00002988  2F2A 007C                move.l     -[A7], [A2 + 0x7C]
  4193. 0000298C  4EBA ECD2                jsr        [PC - 0x132E /* 00001660 */]
  4194. 00002990  3600                     move.w     D3, D0
  4195. 00002992  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4196. 00002996  6002                     bra        +0x4 /* 0000299A */
  4197. label00002998:
  4198. 00002998  76FF                     moveq.l    D3, 0xFFFFFFFF
  4199. label0000299A:
  4200. 0000299A  3003                     move.w     D0, D3
  4201. 0000299C  4FEF 0046                lea.l      A7, [A7 + 0x46]
  4202. 000029A0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4203. 000029A4  4E75                     rts
  4204. fn000029A6:
  4205. 000029A6  48E7 1030                movem.l    -[A7], D3,A2,A3
  4206. 000029AA  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  4207. 000029AE  266F 0094                movea.l    A3, [A7 + 0x94]
  4208. 000029B2  246F 0098                movea.l    A2, [A7 + 0x98]
  4209. 000029B6  3F6F 008A 0016           move.w     [A7 + 0x16], [A7 + 0x8A]
  4210. 000029BC  2F6F 008C 0030           move.l     [A7 + 0x30], [A7 + 0x8C]
  4211. 000029C2  2F6F 0090 0012           move.l     [A7 + 0x12], [A7 + 0x90]
  4212. 000029C8  422F 001F                clr.b      [A7 + 0x1F]
  4213. 000029CC  422F 001A                clr.b      [A7 + 0x1A]
  4214. 000029D0  426F 001C                clr.w      [A7 + 0x1C]
  4215. 000029D4  41D7                     lea.l      A0, [A7]
  4216. 000029D6  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  4217. 000029D8  3600                     move.w     D3, D0
  4218. 000029DA  4A43                     tst.w      D3
  4219. 000029DC  660A                     bne        +0xC /* 000029E8 */
  4220. 000029DE  26AF 0048                move.l     [A3], [A7 + 0x48]
  4221. 000029E2  24AF 004C                move.l     [A2], [A7 + 0x4C]
  4222. 000029E6  6004                     bra        +0x6 /* 000029EC */
  4223. label000029E8:
  4224. 000029E8  4292                     clr.l      [A2]
  4225. 000029EA  4293                     clr.l      [A3]
  4226. label000029EC:
  4227. 000029EC  3003                     move.w     D0, D3
  4228. 000029EE  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  4229. 000029F2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4230. 000029F6  4E75                     rts
  4231. fn000029F8:
  4232. 000029F8  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4233. 000029FC  4FEF FFBA                lea.l      A7, [A7 - 0x46]
  4234. 00002A00  266F 005E                movea.l    A3, [A7 + 0x5E]
  4235. 00002A04  246F 0062                movea.l    A2, [A7 + 0x62]
  4236. 00002A08  2C6F 0066                movea.l    A6, [A7 + 0x66]
  4237. 00002A0C  286F 006A                movea.l    A4, [A7 + 0x6A]
  4238. 00002A10  4AAB 007C                tst.l      [A3 + 0x7C]
  4239. 00002A14  6608                     bne        +0xA /* 00002A1E */
  4240. 00002A16  203C 6172 6368           move.l     D0, 0x61726368 /* 'arch' */
  4241. 00002A1C  6006                     bra        +0x8 /* 00002A24 */
  4242. label00002A1E:
  4243. 00002A1E  206B 007C                movea.l    A0, [A3 + 0x7C]
  4244. 00002A22  2010                     move.l     D0, [A0]
  4245. label00002A24:
  4246. 00002A24  2600                     move.l     D3, D0
  4247. 00002A26  0C83 6172 6368           cmpi.l     D3, 0x61726368 /* 'arch' */
  4248. 00002A2C  6712                     beq        +0x14 /* 00002A40 */
  4249. 00002A2E  0C83 6C6F 6F73           cmpi.l     D3, 0x6C6F6F73 /* 'loos' */
  4250. 00002A34  6736                     beq        +0x38 /* 00002A6C */
  4251. 00002A36  0C83 6674 7020           cmpi.l     D3, 0x66747020 /* 'ftp ' */
  4252. 00002A3C  6766                     beq        +0x68 /* 00002AA4 */
  4253. 00002A3E  607C                     bra        +0x7E /* 00002ABC */
  4254. label00002A40:
  4255. 00002A40  2052                     movea.l    A0, [A2]
  4256. 00002A42  705C                     moveq.l    D0, 0x5C
  4257. 00002A44  C1E8 0050                muls.w     D0, [A0 + 0x50]
  4258. 00002A48  2052                     movea.l    A0, [A2]
  4259. 00002A4A  2068 004A                movea.l    A0, [A0 + 0x4A]
  4260. 00002A4E  2250                     movea.l    A1, [A0]
  4261. 00002A50  2CB1 0832                move.l     [A6], [A1 + D0 + 0x32]
  4262. 00002A54  2052                     movea.l    A0, [A2]
  4263. 00002A56  705C                     moveq.l    D0, 0x5C
  4264. 00002A58  C1E8 0050                muls.w     D0, [A0 + 0x50]
  4265. 00002A5C  2052                     movea.l    A0, [A2]
  4266. 00002A5E  2068 004A                movea.l    A0, [A0 + 0x4A]
  4267. 00002A62  2250                     movea.l    A1, [A0]
  4268. 00002A64  28B1 0836                move.l     [A4], [A1 + D0 + 0x36]
  4269. 00002A68  7600                     moveq.l    D3, 0x00
  4270. 00002A6A  6052                     bra        +0x54 /* 00002ABE */
  4271. label00002A6C:
  4272. 00002A6C  4857                     pea.l      [A7]
  4273. 00002A6E  486F 0044                pea.l      [A7 + 0x44]
  4274. 00002A72  486F 004C                pea.l      [A7 + 0x4C]
  4275. 00002A76  2F2B 007C                move.l     -[A7], [A3 + 0x7C]
  4276. 00002A7A  4EBA FD1C                jsr        [PC - 0x2E4 /* 00002798 */]
  4277. 00002A7E  3600                     move.w     D3, D0
  4278. 00002A80  4A43                     tst.w      D3
  4279. 00002A82  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4280. 00002A86  6636                     bne        +0x38 /* 00002ABE */
  4281. 00002A88  2F0C                     move.l     -[A7], A4
  4282. 00002A8A  2F0E                     move.l     -[A7], A6
  4283. 00002A8C  486F 0008                pea.l      [A7 + 0x8]
  4284. 00002A90  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  4285. 00002A94  3F2F 0054                move.w     -[A7], [A7 + 0x54]
  4286. 00002A98  4EBA FF0C                jsr        [PC - 0xF4 /* 000029A6 */]
  4287. 00002A9C  3600                     move.w     D3, D0
  4288. 00002A9E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4289. 00002AA2  601A                     bra        +0x1C /* 00002ABE */
  4290. label00002AA4:
  4291. 00002AA4  486D FD60                pea.l      [A5 - 0x2A0]
  4292. 00002AA8  2F0C                     move.l     -[A7], A4
  4293. 00002AAA  2F0E                     move.l     -[A7], A6
  4294. 00002AAC  2F2B 007C                move.l     -[A7], [A3 + 0x7C]
  4295. 00002AB0  4EBA EBCE                jsr        [PC - 0x1432 /* 00001680 */]
  4296. 00002AB4  3600                     move.w     D3, D0
  4297. 00002AB6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4298. 00002ABA  6002                     bra        +0x4 /* 00002ABE */
  4299. label00002ABC:
  4300. 00002ABC  76FF                     moveq.l    D3, 0xFFFFFFFF
  4301. label00002ABE:
  4302. 00002ABE  3003                     move.w     D0, D3
  4303. 00002AC0  4FEF 0046                lea.l      A7, [A7 + 0x46]
  4304. 00002AC4  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4305. 00002AC8  4E75                     rts
  4306. fn00002ACA:
  4307. 00002ACA  48E7 1820                movem.l    -[A7], D3,D4,A2
  4308. 00002ACE  4FEF FEF4                lea.l      A7, [A7 - 0x10C]
  4309. 00002AD2  246F 011C                movea.l    A2, [A7 + 0x11C]
  4310. 00002AD6  7601                     moveq.l    D3, 0x01
  4311. 00002AD8  4A6A 0084                tst.w      [A2 + 0x84]
  4312. 00002ADC  6700 015C                beq        +0x15E /* 00002C3A */
  4313. 00002AE0  7600                     moveq.l    D3, 0x00
  4314. 00002AE2  2F2A 0080                move.l     -[A7], [A2 + 0x80]
  4315. 00002AE6  486F 0108                pea.l      [A7 + 0x108]
  4316. 00002AEA  486F 0008                pea.l      [A7 + 0x8]
  4317. 00002AEE  4EBA 2C52                jsr        [PC + 0x2C52 /* 00005742 */]
  4318. 00002AF2  4AAF 0104                tst.l      [A7 + 0x104]
  4319. 00002AF6  6700 0142                beq        +0x144 /* 00002C3A */
  4320. 00002AFA  2017                     move.l     D0, [A7]
  4321. 00002AFC  0480 6C6F 6E67           subi.l     D0, 0x6C6F6E67 /* 'long' */
  4322. 00002B02  670E                     beq        +0x10 /* 00002B12 */
  4323. 00002B04  0480 0404 060B           subi.l     D0, 0x404060B
  4324. 00002B0A  6700 00BE                beq        +0xC0 /* 00002BCA */
  4325. 00002B0E  6000 012A                bra        +0x12C /* 00002C3A */
  4326. label00002B12:
  4327. 00002B12  206F 0104                movea.l    A0, [A7 + 0x104]
  4328. 00002B16  2050                     movea.l    A0, [A0]
  4329. 00002B18  2810                     move.l     D4, [A0]
  4330. 00002B1A  486A 0086                pea.l      [A2 + 0x86]
  4331. 00002B1E  486F 010C                pea.l      [A7 + 0x10C]
  4332. 00002B22  4EAD FF58                jsr        [A5 - 0xA8]
  4333. 00002B26  7000                     moveq.l    D0, 0x00
  4334. 00002B28  302A 0084                move.w     D0, [A2 + 0x84]
  4335. 00002B2C  0480 0000 213D           subi.l     D0, 0x213D /* '!=' */
  4336. 00002B32  6762                     beq        +0x64 /* 00002B96 */
  4337. 00002B34  0480 0000 1AE3           subi.l     D0, 0x1AE3
  4338. 00002B3A  6724                     beq        +0x26 /* 00002B60 */
  4339. 00002B3C  0480 0000 001D           subi.l     D0, 0x1D
  4340. 00002B42  672E                     beq        +0x30 /* 00002B72 */
  4341. 00002B44  0480 0000 0100           subi.l     D0, 0x100
  4342. 00002B4A  6738                     beq        +0x3A /* 00002B84 */
  4343. 00002B4C  0480 0000 00E3           subi.l     D0, 0xE3
  4344. 00002B52  6766                     beq        +0x68 /* 00002BBA */
  4345. 00002B54  0480 0000 001D           subi.l     D0, 0x1D
  4346. 00002B5A  674C                     beq        +0x4E /* 00002BA8 */
  4347. 00002B5C  6000 00DC                bra        +0xDE /* 00002C3A */
  4348. label00002B60:
  4349. 00002B60  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4350. 00002B64  5DC0                     slt        D0
  4351. 00002B66  4400                     neg.b      D0
  4352. 00002B68  4880                     ext.w      D0
  4353. 00002B6A  48C0                     ext.l      D0
  4354. 00002B6C  1600                     move.b     D3, D0
  4355. 00002B6E  6000 00CA                bra        +0xCC /* 00002C3A */
  4356. label00002B72:
  4357. 00002B72  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4358. 00002B76  5FC0                     sle        D0
  4359. 00002B78  4400                     neg.b      D0
  4360. 00002B7A  4880                     ext.w      D0
  4361. 00002B7C  48C0                     ext.l      D0
  4362. 00002B7E  1600                     move.b     D3, D0
  4363. 00002B80  6000 00B8                bra        +0xBA /* 00002C3A */
  4364. label00002B84:
  4365. 00002B84  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4366. 00002B88  57C0                     seq        D0
  4367. 00002B8A  4400                     neg.b      D0
  4368. 00002B8C  4880                     ext.w      D0
  4369. 00002B8E  48C0                     ext.l      D0
  4370. 00002B90  1600                     move.b     D3, D0
  4371. 00002B92  6000 00A6                bra        +0xA8 /* 00002C3A */
  4372. label00002B96:
  4373. 00002B96  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4374. 00002B9A  56C0                     sne        D0
  4375. 00002B9C  4400                     neg.b      D0
  4376. 00002B9E  4880                     ext.w      D0
  4377. 00002BA0  48C0                     ext.l      D0
  4378. 00002BA2  1600                     move.b     D3, D0
  4379. 00002BA4  6000 0094                bra        +0x96 /* 00002C3A */
  4380. label00002BA8:
  4381. 00002BA8  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4382. 00002BAC  5CC0                     sge        D0
  4383. 00002BAE  4400                     neg.b      D0
  4384. 00002BB0  4880                     ext.w      D0
  4385. 00002BB2  48C0                     ext.l      D0
  4386. 00002BB4  1600                     move.b     D3, D0
  4387. 00002BB6  6000 0082                bra        +0x84 /* 00002C3A */
  4388. label00002BBA:
  4389. 00002BBA  B8AF 0108                cmp.l      D4, [A7 + 0x108]
  4390. 00002BBE  5EC0                     sgt        D0
  4391. 00002BC0  4400                     neg.b      D0
  4392. 00002BC2  4880                     ext.w      D0
  4393. 00002BC4  48C0                     ext.l      D0
  4394. 00002BC6  1600                     move.b     D3, D0
  4395. 00002BC8  6070                     bra        +0x72 /* 00002C3A */
  4396. label00002BCA:
  4397. 00002BCA  206F 0104                movea.l    A0, [A7 + 0x104]
  4398. 00002BCE  2050                     movea.l    A0, [A0]
  4399. 00002BD0  1010                     move.b     D0, [A0]
  4400. 00002BD2  4880                     ext.w      D0
  4401. 00002BD4  48C0                     ext.l      D0
  4402. 00002BD6  5280                     addq.l     D0, 1
  4403. 00002BD8  206F 0104                movea.l    A0, [A7 + 0x104]
  4404. 00002BDC  2050                     movea.l    A0, [A0]
  4405. 00002BDE  43EF 0004                lea.l      A1, [A7 + 0x4]
  4406. 00002BE2  A02E                     syscall    BlockMove/BlockMoveData
  4407. 00002BE4  7000                     moveq.l    D0, 0x00
  4408. 00002BE6  302A 0084                move.w     D0, [A2 + 0x84]
  4409. 00002BEA  0480 0000 213D           subi.l     D0, 0x213D /* '!=' */
  4410. 00002BF0  6726                     beq        +0x28 /* 00002C18 */
  4411. 00002BF2  0480 0000 1C00           subi.l     D0, 0x1C00
  4412. 00002BF8  6702                     beq        +0x4 /* 00002BFC */
  4413. 00002BFA  603E                     bra        +0x40 /* 00002C3A */
  4414. label00002BFC:
  4415. 00002BFC  554F                     subq.w     A7, 2
  4416. 00002BFE  486F 0006                pea.l      [A7 + 0x6]
  4417. 00002C02  486A 0086                pea.l      [A2 + 0x86]
  4418. 00002C06  1F3C 0001                move.b     -[A7], 0x1
  4419. 00002C0A  1F3C 0001                move.b     -[A7], 0x1
  4420. 00002C0E  4EAD FEC8                jsr        [A5 - 0x138]
  4421. 00002C12  101F                     move.b     D0, [A7]+
  4422. 00002C14  1600                     move.b     D3, D0
  4423. 00002C16  6022                     bra        +0x24 /* 00002C3A */
  4424. label00002C18:
  4425. 00002C18  554F                     subq.w     A7, 2
  4426. 00002C1A  486F 0006                pea.l      [A7 + 0x6]
  4427. 00002C1E  486A 0086                pea.l      [A2 + 0x86]
  4428. 00002C22  1F3C 0001                move.b     -[A7], 0x1
  4429. 00002C26  1F3C 0001                move.b     -[A7], 0x1
  4430. 00002C2A  4EAD FEC8                jsr        [A5 - 0x138]
  4431. 00002C2E  101F                     move.b     D0, [A7]+
  4432. 00002C30  57C0                     seq        D0
  4433. 00002C32  4400                     neg.b      D0
  4434. 00002C34  4880                     ext.w      D0
  4435. 00002C36  48C0                     ext.l      D0
  4436. 00002C38  1600                     move.b     D3, D0
  4437. label00002C3A:
  4438. 00002C3A  1003                     move.b     D0, D3
  4439. 00002C3C  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  4440. 00002C40  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4441. 00002C44  4E75                     rts
  4442. fn00002C46:
  4443. 00002C46  48E7 1020                movem.l    -[A7], D3,A2
  4444. 00002C4A  246F 000C                movea.l    A2, [A7 + 0xC]
  4445. 00002C4E  4A2D F403                tst.b      [A5 - 0xBFD]
  4446. 00002C52  672C                     beq        +0x2E /* 00002C80 */
  4447. 00002C54  4A6A 004A                tst.w      [A2 + 0x4A]
  4448. 00002C58  6720                     beq        +0x22 /* 00002C7A */
  4449. 00002C5A  0C6A 0001 004A           cmpi.w     [A2 + 0x4A], 0x1
  4450. 00002C60  6606                     bne        +0x8 /* 00002C68 */
  4451. 00002C62  4A2D F3F8                tst.b      [A5 - 0xC08]
  4452. 00002C66  6612                     bne        +0x14 /* 00002C7A */
  4453. label00002C68:
  4454. 00002C68  0C6A FFFF 004A           cmpi.w     [A2 + 0x4A], 0xFFFF
  4455. 00002C6E  6606                     bne        +0x8 /* 00002C76 */
  4456. 00002C70  4A2D F3F8                tst.b      [A5 - 0xC08]
  4457. 00002C74  6704                     beq        +0x6 /* 00002C7A */
  4458. label00002C76:
  4459. 00002C76  7000                     moveq.l    D0, 0x00
  4460. 00002C78  6002                     bra        +0x4 /* 00002C7C */
  4461. label00002C7A:
  4462. 00002C7A  7001                     moveq.l    D0, 0x01
  4463. label00002C7C:
  4464. 00002C7C  1600                     move.b     D3, D0
  4465. 00002C7E  602A                     bra        +0x2C /* 00002CAA */
  4466. label00002C80:
  4467. 00002C80  4A6A 0048                tst.w      [A2 + 0x48]
  4468. 00002C84  6720                     beq        +0x22 /* 00002CA6 */
  4469. 00002C86  0C6A 0001 0048           cmpi.w     [A2 + 0x48], 0x1
  4470. 00002C8C  6606                     bne        +0x8 /* 00002C94 */
  4471. 00002C8E  4A2D F3F8                tst.b      [A5 - 0xC08]
  4472. 00002C92  6612                     bne        +0x14 /* 00002CA6 */
  4473. label00002C94:
  4474. 00002C94  0C6A FFFF 0048           cmpi.w     [A2 + 0x48], 0xFFFF
  4475. 00002C9A  6606                     bne        +0x8 /* 00002CA2 */
  4476. 00002C9C  4A2D F3F8                tst.b      [A5 - 0xC08]
  4477. 00002CA0  6704                     beq        +0x6 /* 00002CA6 */
  4478. label00002CA2:
  4479. 00002CA2  7000                     moveq.l    D0, 0x00
  4480. 00002CA4  6002                     bra        +0x4 /* 00002CA8 */
  4481. label00002CA6:
  4482. 00002CA6  7001                     moveq.l    D0, 0x01
  4483. label00002CA8:
  4484. 00002CA8  1600                     move.b     D3, D0
  4485. label00002CAA:
  4486. 00002CAA  1003                     move.b     D0, D3
  4487. 00002CAC  4CDF 0408                movem.l    D3,A2, [A7]+
  4488. 00002CB0  4E75                     rts
  4489. fn00002CB2:
  4490. 00002CB2  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  4491. 00002CB6  246F 0018                movea.l    A2, [A7 + 0x18]
  4492. 00002CBA  1A2F 001C                move.b     D5, [A7 + 0x1C]
  4493. 00002CBE  4A2A 0041                tst.b      [A2 + 0x41]
  4494. 00002CC2  660E                     bne        +0x10 /* 00002CD2 */
  4495. 00002CC4  4A2A 0040                tst.b      [A2 + 0x40]
  4496. 00002CC8  6604                     bne        +0x6 /* 00002CCE */
  4497. 00002CCA  7000                     moveq.l    D0, 0x00
  4498. 00002CCC  6002                     bra        +0x4 /* 00002CD0 */
  4499. label00002CCE:
  4500. 00002CCE  7001                     moveq.l    D0, 0x01
  4501. label00002CD0:
  4502. 00002CD0  6002                     bra        +0x4 /* 00002CD4 */
  4503. label00002CD2:
  4504. 00002CD2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4505. label00002CD4:
  4506. 00002CD4  4880                     ext.w      D0
  4507. 00002CD6  3600                     move.w     D3, D0
  4508. 00002CD8  2F0A                     move.l     -[A7], A2
  4509. 00002CDA  4EBA FDEE                jsr        [PC - 0x212 /* 00002ACA */]
  4510. 00002CDE  4A00                     tst.b      D0
  4511. 00002CE0  584F                     addq.w     A7, 4
  4512. 00002CE2  6606                     bne        +0x8 /* 00002CEA */
  4513. 00002CE4  7000                     moveq.l    D0, 0x00
  4514. 00002CE6  6000 0114                bra        +0x116 /* 00002DFC */
  4515. label00002CEA:
  4516. 00002CEA  4A05                     tst.b      D5
  4517. 00002CEC  670A                     beq        +0xC /* 00002CF8 */
  4518. 00002CEE  0C6A 0004 0002           cmpi.w     [A2 + 0x2], 0x4
  4519. 00002CF4  6600 00C8                bne        +0xCA /* 00002DBE */
  4520. label00002CF8:
  4521. 00002CF8  4A43                     tst.w      D3
  4522. 00002CFA  670E                     beq        +0x10 /* 00002D0A */
  4523. 00002CFC  0C43 0001                cmpi.w     D3, 0x1
  4524. 00002D00  6600 00BC                bne        +0xBE /* 00002DBE */
  4525. 00002D04  4A05                     tst.b      D5
  4526. 00002D06  6700 00B6                beq        +0xB8 /* 00002DBE */
  4527. label00002D0A:
  4528. 00002D0A  4A6A 0046                tst.w      [A2 + 0x46]
  4529. 00002D0E  6720                     beq        +0x22 /* 00002D30 */
  4530. 00002D10  0C6A 0001 0046           cmpi.w     [A2 + 0x46], 0x1
  4531. 00002D16  6606                     bne        +0x8 /* 00002D1E */
  4532. 00002D18  4A2D F3F9                tst.b      [A5 - 0xC07]
  4533. 00002D1C  6612                     bne        +0x14 /* 00002D30 */
  4534. label00002D1E:
  4535. 00002D1E  0C6A FFFF 0046           cmpi.w     [A2 + 0x46], 0xFFFF
  4536. 00002D24  6600 0098                bne        +0x9A /* 00002DBE */
  4537. 00002D28  4A2D F3F9                tst.b      [A5 - 0xC07]
  4538. 00002D2C  6600 0090                bne        +0x92 /* 00002DBE */
  4539. label00002D30:
  4540. 00002D30  2F0A                     move.l     -[A7], A2
  4541. 00002D32  4EBA FF12                jsr        [PC - 0xEE /* 00002C46 */]
  4542. 00002D36  4A00                     tst.b      D0
  4543. 00002D38  584F                     addq.w     A7, 4
  4544. 00002D3A  6700 0082                beq        +0x84 /* 00002DBE */
  4545. 00002D3E  4A6A 004C                tst.w      [A2 + 0x4C]
  4546. 00002D42  671C                     beq        +0x1E /* 00002D60 */
  4547. 00002D44  0C6A 0001 004C           cmpi.w     [A2 + 0x4C], 0x1
  4548. 00002D4A  6606                     bne        +0x8 /* 00002D52 */
  4549. 00002D4C  4A2D F3F7                tst.b      [A5 - 0xC09]
  4550. 00002D50  660E                     bne        +0x10 /* 00002D60 */
  4551. label00002D52:
  4552. 00002D52  0C6A FFFF 004C           cmpi.w     [A2 + 0x4C], 0xFFFF
  4553. 00002D58  6664                     bne        +0x66 /* 00002DBE */
  4554. 00002D5A  4A2D F3F7                tst.b      [A5 - 0xC09]
  4555. 00002D5E  665E                     bne        +0x60 /* 00002DBE */
  4556. label00002D60:
  4557. 00002D60  4AAD F404                tst.l      [A5 - 0xBFC]
  4558. 00002D64  6734                     beq        +0x36 /* 00002D9A */
  4559. 00002D66  202D F404                move.l     D0, [A5 - 0xBFC]
  4560. 00002D6A  B0AA 004E                cmp.l      D0, [A2 + 0x4E]
  4561. 00002D6E  6D10                     blt        +0x12 /* 00002D80 */
  4562. 00002D70  202D F404                move.l     D0, [A5 - 0xBFC]
  4563. 00002D74  B0AA 0052                cmp.l      D0, [A2 + 0x52]
  4564. 00002D78  6F20                     ble        +0x22 /* 00002D9A */
  4565. 00002D7A  4AAA 0052                tst.l      [A2 + 0x52]
  4566. 00002D7E  671A                     beq        +0x1C /* 00002D9A */
  4567. label00002D80:
  4568. 00002D80  202D F404                move.l     D0, [A5 - 0xBFC]
  4569. 00002D84  B0AA 0056                cmp.l      D0, [A2 + 0x56]
  4570. 00002D88  6D34                     blt        +0x36 /* 00002DBE */
  4571. 00002D8A  202D F404                move.l     D0, [A5 - 0xBFC]
  4572. 00002D8E  B0AA 005A                cmp.l      D0, [A2 + 0x5A]
  4573. 00002D92  6F06                     ble        +0x8 /* 00002D9A */
  4574. 00002D94  4AAA 005A                tst.l      [A2 + 0x5A]
  4575. 00002D98  6624                     bne        +0x26 /* 00002DBE */
  4576. label00002D9A:
  4577. 00002D9A  202D F3FE                move.l     D0, [A5 - 0xC02]
  4578. 00002D9E  B0AA 005E                cmp.l      D0, [A2 + 0x5E]
  4579. 00002DA2  651A                     bcs        +0x1C /* 00002DBE */
  4580. 00002DA4  202D F3FE                move.l     D0, [A5 - 0xC02]
  4581. 00002DA8  B0AA 0062                cmp.l      D0, [A2 + 0x62]
  4582. 00002DAC  6306                     bls        +0x8 /* 00002DB4 */
  4583. 00002DAE  4AAA 0062                tst.l      [A2 + 0x62]
  4584. 00002DB2  660A                     bne        +0xC /* 00002DBE */
  4585. label00002DB4:
  4586. 00002DB4  202D F3FA                move.l     D0, [A5 - 0xC06]
  4587. 00002DB8  B0AA 0066                cmp.l      D0, [A2 + 0x66]
  4588. 00002DBC  6C0E                     bge        +0x10 /* 00002DCC */
  4589. label00002DBE:
  4590. 00002DBE  4A2A 0001                tst.b      [A2 + 0x1]
  4591. 00002DC2  6604                     bne        +0x6 /* 00002DC8 */
  4592. 00002DC4  4A43                     tst.w      D3
  4593. 00002DC6  6704                     beq        +0x6 /* 00002DCC */
  4594. label00002DC8:
  4595. 00002DC8  7000                     moveq.l    D0, 0x00
  4596. 00002DCA  6002                     bra        +0x4 /* 00002DCE */
  4597. label00002DCC:
  4598. 00002DCC  7001                     moveq.l    D0, 0x01
  4599. label00002DCE:
  4600. 00002DCE  1800                     move.b     D4, D0
  4601. 00002DD0  4A05                     tst.b      D5
  4602. 00002DD2  6712                     beq        +0x14 /* 00002DE6 */
  4603. 00002DD4  0C43 FFFF                cmpi.w     D3, 0xFFFF
  4604. 00002DD8  6710                     beq        +0x12 /* 00002DEA */
  4605. 00002DDA  4A04                     tst.b      D4
  4606. 00002DDC  6708                     beq        +0xA /* 00002DE6 */
  4607. 00002DDE  0C6A 0004 0002           cmpi.w     [A2 + 0x2], 0x4
  4608. 00002DE4  6704                     beq        +0x6 /* 00002DEA */
  4609. label00002DE6:
  4610. 00002DE6  7000                     moveq.l    D0, 0x00
  4611. 00002DE8  6002                     bra        +0x4 /* 00002DEC */
  4612. label00002DEA:
  4613. 00002DEA  7001                     moveq.l    D0, 0x01
  4614. label00002DEC:
  4615. 00002DEC  1C00                     move.b     D6, D0
  4616. 00002DEE  7000                     moveq.l    D0, 0x00
  4617. 00002DF0  1006                     move.b     D0, D6
  4618. 00002DF2  D080                     add.l      D0, D0
  4619. 00002DF4  7200                     moveq.l    D1, 0x00
  4620. 00002DF6  1204                     move.b     D1, D4
  4621. 00002DF8  8280                     or.l       D1, D0
  4622. 00002DFA  3001                     move.w     D0, D1
  4623. label00002DFC:
  4624. 00002DFC  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  4625. 00002E00  4E75                     rts
  4626. fn00002E02:
  4627. 00002E02  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  4628. 00002E06  4FEF FF94                lea.l      A7, [A7 - 0x6C]
  4629. 00002E0A  3A2F 0080                move.w     D5, [A7 + 0x80]
  4630. 00002E0E  282F 0082                move.l     D4, [A7 + 0x82]
  4631. 00002E12  246F 0086                movea.l    A2, [A7 + 0x86]
  4632. 00002E16  7600                     moveq.l    D3, 0x00
  4633. 00002E18  2F4A 0012                move.l     [A7 + 0x12], A2
  4634. 00002E1C  3F45 0016                move.w     [A7 + 0x16], D5
  4635. 00002E20  2F44 0030                move.l     [A7 + 0x30], D4
  4636. 00002E24  426F 001C                clr.w      [A7 + 0x1C]
  4637. 00002E28  422F 001B                clr.b      [A7 + 0x1B]
  4638. 00002E2C  41D7                     lea.l      A0, [A7]
  4639. 00002E2E  7009                     moveq.l    D0, 0x09
  4640. 00002E30  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4641. 00002E32  3600                     move.w     D3, D0
  4642. 00002E34  4A43                     tst.w      D3
  4643. 00002E36  660C                     bne        +0xE /* 00002E44 */
  4644. 00002E38  102F 001E                move.b     D0, [A7 + 0x1E]
  4645. 00002E3C  7210                     moveq.l    D1, 0x10
  4646. 00002E3E  C081                     and.l      D0, D1
  4647. 00002E40  6602                     bne        +0x4 /* 00002E44 */
  4648. 00002E42  7688                     moveq.l    D3, 0xFFFFFF88
  4649. label00002E44:
  4650. 00002E44  4A43                     tst.w      D3
  4651. 00002E46  6622                     bne        +0x24 /* 00002E6A */
  4652. 00002E48  2F4A 0012                move.l     [A7 + 0x12], A2
  4653. 00002E4C  3F45 0016                move.w     [A7 + 0x16], D5
  4654. 00002E50  2F44 0030                move.l     [A7 + 0x30], D4
  4655. 00002E54  426F 001C                clr.w      [A7 + 0x1C]
  4656. 00002E58  006F 0400 0028           ori.w      [A7 + 0x28], 0x400
  4657. 00002E5E  422F 001B                clr.b      [A7 + 0x1B]
  4658. 00002E62  41D7                     lea.l      A0, [A7]
  4659. 00002E64  700A                     moveq.l    D0, 0x0A
  4660. 00002E66  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4661. 00002E68  3600                     move.w     D3, D0
  4662. label00002E6A:
  4663. 00002E6A  3003                     move.w     D0, D3
  4664. 00002E6C  4FEF 006C                lea.l      A7, [A7 + 0x6C]
  4665. 00002E70  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  4666. 00002E74  4E75                     rts
  4667. fn00002E76:
  4668. 00002E76  48E7 1820                movem.l    -[A7], D3,D4,A2
  4669. 00002E7A  4FEF FDF6                lea.l      A7, [A7 - 0x20A]
  4670. 00002E7E  246F 021A                movea.l    A2, [A7 + 0x21A]
  4671. 00002E82  4A2D E54D                tst.b      [A5 - 0x1AB3]
  4672. 00002E86  6700 0086                beq        +0x88 /* 00002F0E */
  4673. 00002E8A  7800                     moveq.l    D4, 0x00
  4674. 00002E8C  7600                     moveq.l    D3, 0x00
  4675. 00002E8E  6016                     bra        +0x18 /* 00002EA6 */
  4676. label00002E90:
  4677. 00002E90  2004                     move.l     D0, D4
  4678. 00002E92  E188                     lsl        D0, 8
  4679. 00002E94  3203                     move.w     D1, D3
  4680. 00002E96  48C1                     ext.l      D1
  4681. 00002E98  5281                     addq.l     D1, 1
  4682. 00002E9A  7400                     moveq.l    D2, 0x00
  4683. 00002E9C  1432 1804                move.b     D2, [A2 + D1 + 0x4]
  4684. 00002EA0  D480                     add.l      D2, D0
  4685. 00002EA2  2802                     move.l     D4, D2
  4686. 00002EA4  5243                     addq.w     D3, 1
  4687. label00002EA6:
  4688. 00002EA6  0C43 0004                cmpi.w     D3, 0x4
  4689. 00002EAA  6DE4                     blt        -0x1A /* 00002E90 */
  4690. 00002EAC  554F                     subq.w     A7, 2
  4691. 00002EAE  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  4692. 00002EB4  486F 0106                pea.l      [A7 + 0x106]
  4693. 00002EB8  4EAD FEB0                jsr        [A5 - 0x150]
  4694. 00002EBC  301F                     move.w     D0, [A7]+
  4695. 00002EBE  3600                     move.w     D3, D0
  4696. 00002EC0  4A43                     tst.w      D3
  4697. 00002EC2  6622                     bne        +0x24 /* 00002EE6 */
  4698. 00002EC4  7001                     moveq.l    D0, 0x01
  4699. 00002EC6  C0AF 0100                and.l      D0, [A7 + 0x100]
  4700. 00002ECA  671A                     beq        +0x1C /* 00002EE6 */
  4701. 00002ECC  554F                     subq.w     A7, 2
  4702. 00002ECE  3F2F 0220                move.w     -[A7], [A7 + 0x220]
  4703. 00002ED2  2F04                     move.l     -[A7], D4
  4704. 00002ED4  4227                     clr.b      -[A7]
  4705. 00002ED6  486F 0112                pea.l      [A7 + 0x112]
  4706. 00002EDA  486F 0112                pea.l      [A7 + 0x112]
  4707. 00002EDE  4EAD FFE8                jsr        [A5 - 0x18]
  4708. 00002EE2  301F                     move.w     D0, [A7]+
  4709. 00002EE4  3600                     move.w     D3, D0
  4710. label00002EE6:
  4711. 00002EE6  4A43                     tst.w      D3
  4712. 00002EE8  6614                     bne        +0x16 /* 00002EFE */
  4713. 00002EEA  4857                     pea.l      [A7]
  4714. 00002EEC  2F2F 0108                move.l     -[A7], [A7 + 0x108]
  4715. 00002EF0  3F2F 0110                move.w     -[A7], [A7 + 0x110]
  4716. 00002EF4  4EAD FBB8                jsr        [A5 - 0x448]
  4717. 00002EF8  3600                     move.w     D3, D0
  4718. 00002EFA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4719. label00002EFE:
  4720. 00002EFE  4A43                     tst.w      D3
  4721. 00002F00  660E                     bne        +0x10 /* 00002F10 */
  4722. 00002F02  41D7                     lea.l      A0, [A7]
  4723. 00002F04  43EA 0004                lea.l      A1, [A2 + 0x4]
  4724. 00002F08  7020                     moveq.l    D0, 0x20
  4725. 00002F0A  A02E                     syscall    BlockMove/BlockMoveData
  4726. 00002F0C  6002                     bra        +0x4 /* 00002F10 */
  4727. label00002F0E:
  4728. 00002F0E  76FF                     moveq.l    D3, 0xFFFFFFFF
  4729. label00002F10:
  4730. 00002F10  4A43                     tst.w      D3
  4731. 00002F12  6758                     beq        +0x5A /* 00002F6C */
  4732. 00002F14  7601                     moveq.l    D3, 0x01
  4733. label00002F16:
  4734. 00002F16  3F03                     move.w     -[A7], D3
  4735. 00002F18  3F3C 7D05                move.w     -[A7], 0x7D05
  4736. 00002F1C  486F 010E                pea.l      [A7 + 0x10E]
  4737. 00002F20  4EBA D91E                jsr        [PC - 0x26E2 /* 00000840 */]
  4738. 00002F24  4A2F 0112                tst.b      [A7 + 0x112]
  4739. 00002F28  504F                     addq.w     A7, 8
  4740. 00002F2A  6740                     beq        +0x42 /* 00002F6C */
  4741. 00002F2C  554F                     subq.w     A7, 2
  4742. 00002F2E  486F 010C                pea.l      [A7 + 0x10C]
  4743. 00002F32  486A 0004                pea.l      [A2 + 0x4]
  4744. 00002F36  1F3C 0001                move.b     -[A7], 0x1
  4745. 00002F3A  1F3C 0001                move.b     -[A7], 0x1
  4746. 00002F3E  4EAD FEC8                jsr        [A5 - 0x138]
  4747. 00002F42  101F                     move.b     D0, [A7]+
  4748. 00002F44  6722                     beq        +0x24 /* 00002F68 */
  4749. 00002F46  486F 010A                pea.l      [A7 + 0x10A]
  4750. 00002F4A  3F3C 7D06                move.w     -[A7], 0x7D06
  4751. 00002F4E  3F03                     move.w     -[A7], D3
  4752. 00002F50  4EAD FF80                jsr        [A5 - 0x80]
  4753. 00002F54  4A2F 010A                tst.b      [A7 + 0x10A]
  4754. 00002F58  6712                     beq        +0x14 /* 00002F6C */
  4755. 00002F5A  41EF 010A                lea.l      A0, [A7 + 0x10A]
  4756. 00002F5E  43EA 0004                lea.l      A1, [A2 + 0x4]
  4757. 00002F62  7020                     moveq.l    D0, 0x20
  4758. 00002F64  A02E                     syscall    BlockMove/BlockMoveData
  4759. 00002F66  6004                     bra        +0x6 /* 00002F6C */
  4760. label00002F68:
  4761. 00002F68  5243                     addq.w     D3, 1
  4762. 00002F6A  60AA                     bra        -0x54 /* 00002F16 */
  4763. label00002F6C:
  4764. 00002F6C  4FEF 020A                lea.l      A7, [A7 + 0x20A]
  4765. 00002F70  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4766. 00002F74  4E75                     rts
  4767. fn00002F76:
  4768. 00002F76  48E7 1030                movem.l    -[A7], D3,A2,A3
  4769. 00002F7A  4FEF FF94                lea.l      A7, [A7 - 0x6C]
  4770. 00002F7E  266F 0088                movea.l    A3, [A7 + 0x88]
  4771. 00002F82  246F 008C                movea.l    A2, [A7 + 0x8C]
  4772. 00002F86  2F6F 0082 0012           move.l     [A7 + 0x12], [A7 + 0x82]
  4773. 00002F8C  3F6F 007C 0016           move.w     [A7 + 0x16], [A7 + 0x7C]
  4774. 00002F92  2F6F 007E 0030           move.l     [A7 + 0x30], [A7 + 0x7E]
  4775. 00002F98  422F 001B                clr.b      [A7 + 0x1B]
  4776. 00002F9C  3F6F 0086 001C           move.w     [A7 + 0x1C], [A7 + 0x86]
  4777. 00002FA2  41D7                     lea.l      A0, [A7]
  4778. 00002FA4  7009                     moveq.l    D0, 0x09
  4779. 00002FA6  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4780. 00002FA8  4A40                     tst.w      D0
  4781. 00002FAA  57C0                     seq        D0
  4782. 00002FAC  4400                     neg.b      D0
  4783. 00002FAE  4880                     ext.w      D0
  4784. 00002FB0  48C0                     ext.l      D0
  4785. 00002FB2  1600                     move.b     D3, D0
  4786. 00002FB4  4A03                     tst.b      D3
  4787. 00002FB6  670C                     beq        +0xE /* 00002FC4 */
  4788. 00002FB8  102F 001E                move.b     D0, [A7 + 0x1E]
  4789. 00002FBC  7210                     moveq.l    D1, 0x10
  4790. 00002FBE  C081                     and.l      D0, D1
  4791. 00002FC0  6602                     bne        +0x4 /* 00002FC4 */
  4792. 00002FC2  7600                     moveq.l    D3, 0x00
  4793. label00002FC4:
  4794. 00002FC4  4A03                     tst.b      D3
  4795. 00002FC6  6710                     beq        +0x12 /* 00002FD8 */
  4796. 00002FC8  200B                     move.l     D0, A3
  4797. 00002FCA  6704                     beq        +0x6 /* 00002FD0 */
  4798. 00002FCC  26AF 0030                move.l     [A3], [A7 + 0x30]
  4799. label00002FD0:
  4800. 00002FD0  200A                     move.l     D0, A2
  4801. 00002FD2  6704                     beq        +0x6 /* 00002FD8 */
  4802. 00002FD4  24AF 0064                move.l     [A2], [A7 + 0x64]
  4803. label00002FD8:
  4804. 00002FD8  1003                     move.b     D0, D3
  4805. 00002FDA  4FEF 006C                lea.l      A7, [A7 + 0x6C]
  4806. 00002FDE  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4807. 00002FE2  4E75                     rts
  4808. fn00002FE4:
  4809. 00002FE4  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4810. 00002FE8  4FEF FF0A                lea.l      A7, [A7 - 0xF6]
  4811. 00002FEC  266F 0112                movea.l    A3, [A7 + 0x112]
  4812. 00002FF0  286F 0116                movea.l    A4, [A7 + 0x116]
  4813. 00002FF4  246F 011A                movea.l    A2, [A7 + 0x11A]
  4814. 00002FF8  2C6F 0122                movea.l    A6, [A7 + 0x122]
  4815. 00002FFC  7600                     moveq.l    D3, 0x00
  4816. 00002FFE  42A7                     clr.l      -[A7]
  4817. 00003000  486F 000C                pea.l      [A7 + 0xC]
  4818. 00003004  4267                     clr.w      -[A7]
  4819. 00003006  486A 0004                pea.l      [A2 + 0x4]
  4820. 0000300A  2F14                     move.l     -[A7], [A4]
  4821. 0000300C  3F13                     move.w     -[A7], [A3]
  4822. 0000300E  4EBA FF66                jsr        [PC - 0x9A /* 00002F76 */]
  4823. 00003012  1800                     move.b     D4, D0
  4824. 00003014  1F04                     move.b     -[A7], D4
  4825. 00003016  2F0A                     move.l     -[A7], A2
  4826. 00003018  4EBA FC98                jsr        [PC - 0x368 /* 00002CB2 */]
  4827. 0000301C  3C80                     move.w     [A6], D0
  4828. 0000301E  3016                     move.w     D0, [A6]
  4829. 00003020  7201                     moveq.l    D1, 0x01
  4830. 00003022  C081                     and.l      D0, D1
  4831. 00003024  4A80                     tst.l      D0
  4832. 00003026  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4833. 0000302A  6604                     bne        +0x6 /* 00003030 */
  4834. 0000302C  7000                     moveq.l    D0, 0x00
  4835. 0000302E  6002                     bra        +0x4 /* 00003032 */
  4836. label00003030:
  4837. 00003030  7001                     moveq.l    D0, 0x01
  4838. label00003032:
  4839. 00003032  4A80                     tst.l      D0
  4840. 00003034  6714                     beq        +0x16 /* 0000304A */
  4841. 00003036  4A43                     tst.w      D3
  4842. 00003038  6610                     bne        +0x12 /* 0000304A */
  4843. 0000303A  2F14                     move.l     -[A7], [A4]
  4844. 0000303C  3F13                     move.w     -[A7], [A3]
  4845. 0000303E  2F0A                     move.l     -[A7], A2
  4846. 00003040  4EBA F698                jsr        [PC - 0x968 /* 000026DA */]
  4847. 00003044  3600                     move.w     D3, D0
  4848. 00003046  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4849. label0000304A:
  4850. 0000304A  3016                     move.w     D0, [A6]
  4851. 0000304C  7202                     moveq.l    D1, 0x02
  4852. 0000304E  C081                     and.l      D0, D1
  4853. 00003050  4A80                     tst.l      D0
  4854. 00003052  6604                     bne        +0x6 /* 00003058 */
  4855. 00003054  7000                     moveq.l    D0, 0x00
  4856. 00003056  6002                     bra        +0x4 /* 0000305A */
  4857. label00003058:
  4858. 00003058  7001                     moveq.l    D0, 0x01
  4859. label0000305A:
  4860. 0000305A  4A80                     tst.l      D0
  4861. 0000305C  660A                     bne        +0xC /* 00003068 */
  4862. 0000305E  4A2A 0042                tst.b      [A2 + 0x42]
  4863. 00003062  6720                     beq        +0x22 /* 00003084 */
  4864. 00003064  4A04                     tst.b      D4
  4865. 00003066  671C                     beq        +0x1E /* 00003084 */
  4866. label00003068:
  4867. 00003068  4A43                     tst.w      D3
  4868. 0000306A  6618                     bne        +0x1A /* 00003084 */
  4869. 0000306C  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4870. 00003070  3F13                     move.w     -[A7], [A3]
  4871. 00003072  4EBA D3A0                jsr        [PC - 0x2C60 /* 00000414 */]
  4872. 00003076  3600                     move.w     D3, D0
  4873. 00003078  206D EFDC                movea.l    A0, [A5 - 0x1024]
  4874. 0000307C  117C 0001 0001           move.b     [A0 + 0x1], 0x1
  4875. 00003082  5C4F                     addq.w     A7, 6
  4876. label00003084:
  4877. 00003084  3016                     move.w     D0, [A6]
  4878. 00003086  7202                     moveq.l    D1, 0x02
  4879. 00003088  C081                     and.l      D0, D1
  4880. 0000308A  4A80                     tst.l      D0
  4881. 0000308C  6604                     bne        +0x6 /* 00003092 */
  4882. 0000308E  7000                     moveq.l    D0, 0x00
  4883. 00003090  6002                     bra        +0x4 /* 00003094 */
  4884. label00003092:
  4885. 00003092  7001                     moveq.l    D0, 0x01
  4886. label00003094:
  4887. 00003094  4A80                     tst.l      D0
  4888. 00003096  6716                     beq        +0x18 /* 000030AE */
  4889. 00003098  4A43                     tst.w      D3
  4890. 0000309A  6612                     bne        +0x14 /* 000030AE */
  4891. 0000309C  486A 0004                pea.l      [A2 + 0x4]
  4892. 000030A0  2F14                     move.l     -[A7], [A4]
  4893. 000030A2  3F13                     move.w     -[A7], [A3]
  4894. 000030A4  4EBA D460                jsr        [PC - 0x2BA0 /* 00000506 */]
  4895. 000030A8  3600                     move.w     D3, D0
  4896. 000030AA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4897. label000030AE:
  4898. 000030AE  3016                     move.w     D0, [A6]
  4899. 000030B0  7201                     moveq.l    D1, 0x01
  4900. 000030B2  C081                     and.l      D0, D1
  4901. 000030B4  4A80                     tst.l      D0
  4902. 000030B6  6604                     bne        +0x6 /* 000030BC */
  4903. 000030B8  7000                     moveq.l    D0, 0x00
  4904. 000030BA  6002                     bra        +0x4 /* 000030BE */
  4905. label000030BC:
  4906. 000030BC  7001                     moveq.l    D0, 0x01
  4907. label000030BE:
  4908. 000030BE  4A80                     tst.l      D0
  4909. 000030C0  6734                     beq        +0x36 /* 000030F6 */
  4910. 000030C2  4A04                     tst.b      D4
  4911. 000030C4  6630                     bne        +0x32 /* 000030F6 */
  4912. 000030C6  4A43                     tst.w      D3
  4913. 000030C8  662C                     bne        +0x2E /* 000030F6 */
  4914. 000030CA  204A                     movea.l    A0, A2
  4915. 000030CC  5888                     addq.l     A0, 4
  4916. 000030CE  2F48 0022                move.l     [A7 + 0x22], A0
  4917. 000030D2  3F53 0026                move.w     [A7 + 0x26], [A3]
  4918. 000030D6  2F54 0040                move.l     [A7 + 0x40], [A4]
  4919. 000030DA  422F 002F                clr.b      [A7 + 0x2F]
  4920. 000030DE  422F 002A                clr.b      [A7 + 0x2A]
  4921. 000030E2  41EF 0010                lea.l      A0, [A7 + 0x10]
  4922. 000030E6  7006                     moveq.l    D0, 0x06
  4923. 000030E8  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4924. 000030EA  3600                     move.w     D3, D0
  4925. 000030EC  206D EFDC                movea.l    A0, [A5 - 0x1024]
  4926. 000030F0  117C 0001 0001           move.b     [A0 + 0x1], 0x1
  4927. label000030F6:
  4928. 000030F6  206D EFDC                movea.l    A0, [A5 - 0x1024]
  4929. 000030FA  0C28 0001 0001           cmpi.b     [A0 + 0x1], 0x1
  4930. 00003100  6600 0104                bne        +0x106 /* 00003206 */
  4931. 00003104  4A2A 00A6                tst.b      [A2 + 0xA6]
  4932. 00003108  6706                     beq        +0x8 /* 00003110 */
  4933. 0000310A  2048                     movea.l    A0, A0
  4934. 0000310C  4A10                     tst.b      [A0]
  4935. 0000310E  6608                     bne        +0xA /* 00003118 */
  4936. label00003110:
  4937. 00003110  4AAA 00AC                tst.l      [A2 + 0xAC]
  4938. 00003114  6700 00F0                beq        +0xF2 /* 00003206 */
  4939. label00003118:
  4940. 00003118  4A43                     tst.w      D3
  4941. 0000311A  6600 00EA                bne        +0xEC /* 00003206 */
  4942. 0000311E  3F53 00A0                move.w     [A7 + 0xA0], [A3]
  4943. 00003122  2F54 00BA                move.l     [A7 + 0xBA], [A4]
  4944. 00003126  204A                     movea.l    A0, A2
  4945. 00003128  5888                     addq.l     A0, 4
  4946. 0000312A  2F48 009C                move.l     [A7 + 0x9C], A0
  4947. 0000312E  426F 00A6                clr.w      [A7 + 0xA6]
  4948. 00003132  41EF 008A                lea.l      A0, [A7 + 0x8A]
  4949. 00003136  7009                     moveq.l    D0, 0x09
  4950. 00003138  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  4951. 0000313A  3600                     move.w     D3, D0
  4952. 0000313C  4A43                     tst.w      D3
  4953. 0000313E  6600 00C6                bne        +0xC8 /* 00003206 */
  4954. 00003142  3F53 00A0                move.w     [A7 + 0xA0], [A3]
  4955. 00003146  2F54 00BA                move.l     [A7 + 0xBA], [A4]
  4956. 0000314A  204A                     movea.l    A0, A2
  4957. 0000314C  5888                     addq.l     A0, 4
  4958. 0000314E  2F48 009C                move.l     [A7 + 0x9C], A0
  4959. 00003152  426F 00A6                clr.w      [A7 + 0xA6]
  4960. 00003156  4AAA 00AC                tst.l      [A2 + 0xAC]
  4961. 0000315A  672C                     beq        +0x2E /* 00003188 */
  4962. 0000315C  206A 00AC                movea.l    A0, [A2 + 0xAC]
  4963. 00003160  2F50 00AA                move.l     [A7 + 0xAA], [A0]
  4964. 00003164  2F68 0004 00AE           move.l     [A7 + 0xAE], [A0 + 0x4]
  4965. 0000316A  206A 00AC                movea.l    A0, [A2 + 0xAC]
  4966. 0000316E  3F68 0008 00B2           move.w     [A7 + 0xB2], [A0 + 0x8]
  4967. 00003174  206A 00AC                movea.l    A0, [A2 + 0xAC]
  4968. 00003178  3F68 000E 00B8           move.w     [A7 + 0xB8], [A0 + 0xE]
  4969. 0000317E  206A 00AC                movea.l    A0, [A2 + 0xAC]
  4970. 00003182  2F68 0010 00DE           move.l     [A7 + 0xDE], [A0 + 0x10]
  4971. label00003188:
  4972. 00003188  3F7C FFFF 00B4           move.w     [A7 + 0xB4], 0xFFFF
  4973. 0000318E  3F7C FFFF 00B6           move.w     [A7 + 0xB6], 0xFFFF
  4974. 00003194  4A2A 00A6                tst.b      [A2 + 0xA6]
  4975. 00003198  675C                     beq        +0x5E /* 000031F6 */
  4976. 0000319A  206D EFDC                movea.l    A0, [A5 - 0x1024]
  4977. 0000319E  4A10                     tst.b      [A0]
  4978. 000031A0  6754                     beq        +0x56 /* 000031F6 */
  4979. 000031A2  2EAD FA16                move.l     [A7], [A5 - 0x5EA]
  4980. 000031A6  2F6D FA1A 0004           move.l     [A7 + 0x4], [A5 - 0x5E6]
  4981. 000031AC  0C6A FFFF 00A8           cmpi.w     [A2 + 0xA8], 0xFFFF
  4982. 000031B2  6710                     beq        +0x12 /* 000031C4 */
  4983. 000031B4  0C6A FFFF 00AA           cmpi.w     [A2 + 0xAA], 0xFFFF
  4984. 000031BA  6708                     beq        +0xA /* 000031C4 */
  4985. 000031BC  2F6A 00A8 000C           move.l     [A7 + 0xC], [A2 + 0xA8]
  4986. 000031C2  6010                     bra        +0x12 /* 000031D4 */
  4987. label000031C4:
  4988. 000031C4  4AAA 00AC                tst.l      [A2 + 0xAC]
  4989. 000031C8  670A                     beq        +0xC /* 000031D4 */
  4990. 000031CA  206A 00AC                movea.l    A0, [A2 + 0xAC]
  4991. 000031CE  2F68 000A 000C           move.l     [A7 + 0xC], [A0 + 0xA]
  4992. label000031D4:
  4993. 000031D4  554F                     subq.w     A7, 2
  4994. 000031D6  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4995. 000031DA  486F 0006                pea.l      [A7 + 0x6]
  4996. 000031DE  A8AD                     syscall    PtInRect
  4997. 000031E0  101F                     move.b     D0, [A7]+
  4998. 000031E2  670C                     beq        +0xE /* 000031F0 */
  4999. 000031E4  066F 4E20 000C           addi.w     [A7 + 0xC], 0x4E20 /* 'N ' */
  5000. 000031EA  066F 4E20 000E           addi.w     [A7 + 0xE], 0x4E20 /* 'N ' */
  5001. label000031F0:
  5002. 000031F0  2F6F 000C 00B4           move.l     [A7 + 0xB4], [A7 + 0xC]
  5003. label000031F6:
  5004. 000031F6  006F 0100 00B2           ori.w      [A7 + 0xB2], 0x100
  5005. 000031FC  41EF 008A                lea.l      A0, [A7 + 0x8A]
  5006. 00003200  700A                     moveq.l    D0, 0x0A
  5007. 00003202  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5008. 00003204  3600                     move.w     D3, D0
  5009. label00003206:
  5010. 00003206  4A43                     tst.w      D3
  5011. 00003208  6616                     bne        +0x18 /* 00003220 */
  5012. 0000320A  4A2A 0044                tst.b      [A2 + 0x44]
  5013. 0000320E  6710                     beq        +0x12 /* 00003220 */
  5014. 00003210  486A 0004                pea.l      [A2 + 0x4]
  5015. 00003214  2F14                     move.l     -[A7], [A4]
  5016. 00003216  3F13                     move.w     -[A7], [A3]
  5017. 00003218  4EBA FBE8                jsr        [PC - 0x418 /* 00002E02 */]
  5018. 0000321C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5019. label00003220:
  5020. 00003220  3013                     move.w     D0, [A3]
  5021. 00003222  B06D F3EE                cmp.w      D0, [A5 - 0xC12]
  5022. 00003226  6706                     beq        +0x8 /* 0000322E */
  5023. 00003228  202D F3E0                move.l     D0, [A5 - 0xC20]
  5024. 0000322C  6004                     bra        +0x6 /* 00003232 */
  5025. label0000322E:
  5026. 0000322E  202D F3FE                move.l     D0, [A5 - 0xC02]
  5027. label00003232:
  5028. 00003232  2800                     move.l     D4, D0
  5029. 00003234  4A2A 0043                tst.b      [A2 + 0x43]
  5030. 00003238  6708                     beq        +0xA /* 00003242 */
  5031. 0000323A  0C84 0007 0000           cmpi.l     D4, 0x70000
  5032. 00003240  6506                     bcs        +0x8 /* 00003248 */
  5033. label00003242:
  5034. 00003242  3003                     move.w     D0, D3
  5035. 00003244  48C0                     ext.l      D0
  5036. 00003246  6002                     bra        +0x4 /* 0000324A */
  5037. label00003248:
  5038. 00003248  7000                     moveq.l    D0, 0x00
  5039. label0000324A:
  5040. 0000324A  4FEF 00F6                lea.l      A7, [A7 + 0xF6]
  5041. 0000324E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5042. 00003252  4E75                     rts
  5043. fn00003254:
  5044. 00003254  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5045. 00003258  4FEF FF7C                lea.l      A7, [A7 - 0x84]
  5046. 0000325C  246F 00A0                movea.l    A2, [A7 + 0xA0]
  5047. 00003260  266F 00A4                movea.l    A3, [A7 + 0xA4]
  5048. 00003264  2C6F 00A8                movea.l    A6, [A7 + 0xA8]
  5049. 00003268  286F 00B0                movea.l    A4, [A7 + 0xB0]
  5050. 0000326C  7600                     moveq.l    D3, 0x00
  5051. 0000326E  52AD EFDC                addq.l     [A5 - 0x1024], 1
  5052. 00003272  526D F3F4                addq.w     [A5 - 0xC0C], 1
  5053. 00003276  4A6D F3F2                tst.w      [A5 - 0xC0E]
  5054. 0000327A  6708                     beq        +0xA /* 00003284 */
  5055. 0000327C  4254                     clr.w      [A4]
  5056. 0000327E  7000                     moveq.l    D0, 0x00
  5057. 00003280  6000 0144                bra        +0x146 /* 000033C6 */
  5058. label00003284:
  5059. 00003284  7800                     moveq.l    D4, 0x00
  5060. 00003286  554F                     subq.w     A7, 2
  5061. 00003288  486E 0004                pea.l      [A6 + 0x4]
  5062. 0000328C  486D F2E0                pea.l      [A5 - 0xD20]
  5063. 00003290  4227                     clr.b      -[A7]
  5064. 00003292  1F3C 0001                move.b     -[A7], 0x1
  5065. 00003296  4EAD FEC8                jsr        [A5 - 0x138]
  5066. 0000329A  101F                     move.b     D0, [A7]+
  5067. 0000329C  672A                     beq        +0x2C /* 000032C8 */
  5068. 0000329E  4A6D F3EE                tst.w      [A5 - 0xC12]
  5069. 000032A2  6700 00F2                beq        +0xF4 /* 00003396 */
  5070. 000032A6  4AAD F3E8                tst.l      [A5 - 0xC18]
  5071. 000032AA  6700 00EA                beq        +0xEC /* 00003396 */
  5072. 000032AE  3B52 F3EC                move.w     [A5 - 0xC14], [A2]
  5073. 000032B2  3F6D F3EE 0008           move.w     [A7 + 0x8], [A5 - 0xC12]
  5074. 000032B8  2B53 F3E4                move.l     [A5 - 0xC1C], [A3]
  5075. 000032BC  2F6D F3E8 0004           move.l     [A7 + 0x4], [A5 - 0xC18]
  5076. 000032C2  7801                     moveq.l    D4, 0x01
  5077. 000032C4  6000 00D0                bra        +0xD2 /* 00003396 */
  5078. label000032C8:
  5079. 000032C8  554F                     subq.w     A7, 2
  5080. 000032CA  486E 0004                pea.l      [A6 + 0x4]
  5081. 000032CE  486D F1E0                pea.l      [A5 - 0xE20]
  5082. 000032D2  4227                     clr.b      -[A7]
  5083. 000032D4  1F3C 0001                move.b     -[A7], 0x1
  5084. 000032D8  4EAD FEC8                jsr        [A5 - 0x138]
  5085. 000032DC  101F                     move.b     D0, [A7]+
  5086. 000032DE  6700 0098                beq        +0x9A /* 00003378 */
  5087. 000032E2  4A2D E54D                tst.b      [A5 - 0x1AB3]
  5088. 000032E6  674A                     beq        +0x4C /* 00003332 */
  5089. 000032E8  554F                     subq.w     A7, 2
  5090. 000032EA  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  5091. 000032F0  486F 0006                pea.l      [A7 + 0x6]
  5092. 000032F4  4EAD FEB0                jsr        [A5 - 0x150]
  5093. 000032F8  301F                     move.w     D0, [A7]+
  5094. 000032FA  3600                     move.w     D3, D0
  5095. 000032FC  4A43                     tst.w      D3
  5096. 000032FE  6624                     bne        +0x26 /* 00003324 */
  5097. 00003300  7001                     moveq.l    D0, 0x01
  5098. 00003302  C097                     and.l      D0, [A7]
  5099. 00003304  671E                     beq        +0x20 /* 00003324 */
  5100. 00003306  554F                     subq.w     A7, 2
  5101. 00003308  3F12                     move.w     -[A7], [A2]
  5102. 0000330A  2F3C 6D61 6373           move.l     -[A7], 0x6D616373 /* 'macs' */
  5103. 00003310  4227                     clr.b      -[A7]
  5104. 00003312  486F 0012                pea.l      [A7 + 0x12]
  5105. 00003316  486F 0012                pea.l      [A7 + 0x12]
  5106. 0000331A  4EAD FFE8                jsr        [A5 - 0x18]
  5107. 0000331E  301F                     move.w     D0, [A7]+
  5108. 00003320  3600                     move.w     D3, D0
  5109. 00003322  6002                     bra        +0x4 /* 00003326 */
  5110. label00003324:
  5111. 00003324  76FF                     moveq.l    D3, 0xFFFFFFFF
  5112. label00003326:
  5113. 00003326  4A43                     tst.w      D3
  5114. 00003328  57C0                     seq        D0
  5115. 0000332A  4400                     neg.b      D0
  5116. 0000332C  4880                     ext.w      D0
  5117. 0000332E  48C0                     ext.l      D0
  5118. 00003330  1800                     move.b     D4, D0
  5119. label00003332:
  5120. 00003332  0C04 0001                cmpi.b     D4, 0x1
  5121. 00003336  660A                     bne        +0xC /* 00003342 */
  5122. 00003338  3B52 F3EC                move.w     [A5 - 0xC14], [A2]
  5123. 0000333C  2B53 F3E4                move.l     [A5 - 0xC1C], [A3]
  5124. 00003340  6054                     bra        +0x56 /* 00003396 */
  5125. label00003342:
  5126. 00003342  42AF 001C                clr.l      [A7 + 0x1C]
  5127. 00003346  3F52 0020                move.w     [A7 + 0x20], [A2]
  5128. 0000334A  426F 0026                clr.w      [A7 + 0x26]
  5129. 0000334E  41EF 000A                lea.l      A0, [A7 + 0xA]
  5130. 00003352  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  5131. 00003354  3600                     move.w     D3, D0
  5132. 00003356  4A43                     tst.w      D3
  5133. 00003358  663C                     bne        +0x3E /* 00003396 */
  5134. 0000335A  4AAF 0064                tst.l      [A7 + 0x64]
  5135. 0000335E  6736                     beq        +0x38 /* 00003396 */
  5136. 00003360  3B52 F3EC                move.w     [A5 - 0xC14], [A2]
  5137. 00003364  2B53 F3E4                move.l     [A5 - 0xC1C], [A3]
  5138. 00003368  3F6F 0020 0008           move.w     [A7 + 0x8], [A7 + 0x20]
  5139. 0000336E  2F6F 0064 0004           move.l     [A7 + 0x4], [A7 + 0x64]
  5140. 00003374  7801                     moveq.l    D4, 0x01
  5141. 00003376  601E                     bra        +0x20 /* 00003396 */
  5142. label00003378:
  5143. 00003378  3F52 0008                move.w     [A7 + 0x8], [A2]
  5144. 0000337C  42A7                     clr.l      -[A7]
  5145. 0000337E  486F 0008                pea.l      [A7 + 0x8]
  5146. 00003382  4267                     clr.w      -[A7]
  5147. 00003384  486E 0004                pea.l      [A6 + 0x4]
  5148. 00003388  2F13                     move.l     -[A7], [A3]
  5149. 0000338A  3F12                     move.w     -[A7], [A2]
  5150. 0000338C  4EBA FBE8                jsr        [PC - 0x418 /* 00002F76 */]
  5151. 00003390  1800                     move.b     D4, D0
  5152. 00003392  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5153. label00003396:
  5154. 00003396  4A04                     tst.b      D4
  5155. 00003398  6610                     bne        +0x12 /* 000033AA */
  5156. 0000339A  4A2E 0043                tst.b      [A6 + 0x43]
  5157. 0000339E  670A                     beq        +0xC /* 000033AA */
  5158. 000033A0  3B6D F3F4 F3F0           move.w     [A5 - 0xC10], [A5 - 0xC0C]
  5159. 000033A6  4254                     clr.w      [A4]
  5160. 000033A8  601A                     bra        +0x1C /* 000033C4 */
  5161. label000033AA:
  5162. 000033AA  4A04                     tst.b      D4
  5163. 000033AC  660A                     bne        +0xC /* 000033B8 */
  5164. 000033AE  3B6D F3F4 F3F2           move.w     [A5 - 0xC0E], [A5 - 0xC0C]
  5165. 000033B4  4254                     clr.w      [A4]
  5166. 000033B6  600C                     bra        +0xE /* 000033C4 */
  5167. label000033B8:
  5168. 000033B8  34AF 0008                move.w     [A2], [A7 + 0x8]
  5169. 000033BC  26AF 0004                move.l     [A3], [A7 + 0x4]
  5170. 000033C0  38BC 0001                move.w     [A4], 0x1
  5171. label000033C4:
  5172. 000033C4  7000                     moveq.l    D0, 0x00
  5173. label000033C6:
  5174. 000033C6  4FEF 0084                lea.l      A7, [A7 + 0x84]
  5175. 000033CA  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5176. 000033CE  4E75                     rts
  5177. fn000033D0:
  5178. 000033D0  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  5179. 000033D4  594F                     subq.w     A7, 4
  5180. 000033D6  2C6F 0018                movea.l    A6, [A7 + 0x18]
  5181. 000033DA  266F 001C                movea.l    A3, [A7 + 0x1C]
  5182. 000033DE  286F 0020                movea.l    A4, [A7 + 0x20]
  5183. 000033E2  246F 0028                movea.l    A2, [A7 + 0x28]
  5184. 000033E6  206D EFDC                movea.l    A0, [A5 - 0x1024]
  5185. 000033EA  53AD EFDC                subq.l     [A5 - 0x1024], 1
  5186. 000033EE  4210                     clr.b      [A0]
  5187. 000033F0  536D F3F4                subq.w     [A5 - 0xC0C], 1
  5188. 000033F4  4A6D F3F2                tst.w      [A5 - 0xC0E]
  5189. 000033F8  6716                     beq        +0x18 /* 00003410 */
  5190. 000033FA  302D F3F2                move.w     D0, [A5 - 0xC0E]
  5191. 000033FE  B06D F3F4                cmp.w      D0, [A5 - 0xC0C]
  5192. 00003402  6F04                     ble        +0x6 /* 00003408 */
  5193. 00003404  426D F3F2                clr.w      [A5 - 0xC0E]
  5194. label00003408:
  5195. 00003408  4252                     clr.w      [A2]
  5196. 0000340A  7000                     moveq.l    D0, 0x00
  5197. 0000340C  6000 009C                bra        +0x9E /* 000034AA */
  5198. label00003410:
  5199. 00003410  4A6D F3F0                tst.w      [A5 - 0xC10]
  5200. 00003414  6716                     beq        +0x18 /* 0000342C */
  5201. 00003416  302D F3F0                move.w     D0, [A5 - 0xC10]
  5202. 0000341A  B06D F3F4                cmp.w      D0, [A5 - 0xC0C]
  5203. 0000341E  6F04                     ble        +0x6 /* 00003424 */
  5204. 00003420  426D F3F0                clr.w      [A5 - 0xC10]
  5205. label00003424:
  5206. 00003424  4252                     clr.w      [A2]
  5207. 00003426  7000                     moveq.l    D0, 0x00
  5208. 00003428  6000 0080                bra        +0x82 /* 000034AA */
  5209. label0000342C:
  5210. 0000342C  554F                     subq.w     A7, 2
  5211. 0000342E  486C 0004                pea.l      [A4 + 0x4]
  5212. 00003432  486D F2E0                pea.l      [A5 - 0xD20]
  5213. 00003436  4227                     clr.b      -[A7]
  5214. 00003438  1F3C 0001                move.b     -[A7], 0x1
  5215. 0000343C  4EAD FEC8                jsr        [A5 - 0x138]
  5216. 00003440  101F                     move.b     D0, [A7]+
  5217. 00003442  6618                     bne        +0x1A /* 0000345C */
  5218. 00003444  554F                     subq.w     A7, 2
  5219. 00003446  486C 0004                pea.l      [A4 + 0x4]
  5220. 0000344A  486D F1E0                pea.l      [A5 - 0xE20]
  5221. 0000344E  4227                     clr.b      -[A7]
  5222. 00003450  1F3C 0001                move.b     -[A7], 0x1
  5223. 00003454  4EAD FEC8                jsr        [A5 - 0x138]
  5224. 00003458  101F                     move.b     D0, [A7]+
  5225. 0000345A  6726                     beq        +0x28 /* 00003482 */
  5226. label0000345C:
  5227. 0000345C  4A6D F3EC                tst.w      [A5 - 0xC14]
  5228. 00003460  6720                     beq        +0x22 /* 00003482 */
  5229. 00003462  4AAD F3E4                tst.l      [A5 - 0xC1C]
  5230. 00003466  671A                     beq        +0x1C /* 00003482 */
  5231. 00003468  3CAD F3EC                move.w     [A6], [A5 - 0xC14]
  5232. 0000346C  26AD F3E4                move.l     [A3], [A5 - 0xC1C]
  5233. 00003470  42AD F3E4                clr.l      [A5 - 0xC1C]
  5234. 00003474  7000                     moveq.l    D0, 0x00
  5235. 00003476  3B40 F3EC                move.w     [A5 - 0xC14], D0
  5236. 0000347A  34BC 0001                move.w     [A2], 0x1
  5237. 0000347E  7000                     moveq.l    D0, 0x00
  5238. 00003480  6028                     bra        +0x2A /* 000034AA */
  5239. label00003482:
  5240. 00003482  4857                     pea.l      [A7]
  5241. 00003484  42A7                     clr.l      -[A7]
  5242. 00003486  3F3C FFFF                move.w     -[A7], 0xFFFF
  5243. 0000348A  42A7                     clr.l      -[A7]
  5244. 0000348C  2F13                     move.l     -[A7], [A3]
  5245. 0000348E  3F16                     move.w     -[A7], [A6]
  5246. 00003490  4EBA FAE4                jsr        [PC - 0x51C /* 00002F76 */]
  5247. 00003494  4A00                     tst.b      D0
  5248. 00003496  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5249. 0000349A  670A                     beq        +0xC /* 000034A6 */
  5250. 0000349C  2697                     move.l     [A3], [A7]
  5251. 0000349E  34BC 0001                move.w     [A2], 0x1
  5252. 000034A2  7000                     moveq.l    D0, 0x00
  5253. 000034A4  6004                     bra        +0x6 /* 000034AA */
  5254. label000034A6:
  5255. 000034A6  4252                     clr.w      [A2]
  5256. 000034A8  7065                     moveq.l    D0, 0x65
  5257. label000034AA:
  5258. 000034AA  584F                     addq.w     A7, 4
  5259. 000034AC  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  5260. 000034B0  4E75                     rts
  5261. fn000034B2:
  5262. 000034B2  2F03                     move.l     -[A7], D3
  5263. 000034B4  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  5264. 000034B8  7600                     moveq.l    D3, 0x00
  5265. 000034BA  4A43                     tst.w      D3
  5266. 000034BC  661A                     bne        +0x1C /* 000034D8 */
  5267. 000034BE  486F 0004                pea.l      [A7 + 0x4]
  5268. 000034C2  486F 0010                pea.l      [A7 + 0x10]
  5269. 000034C6  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  5270. 000034CA  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  5271. 000034CE  4EBA F528                jsr        [PC - 0xAD8 /* 000029F8 */]
  5272. 000034D2  3600                     move.w     D3, D0
  5273. 000034D4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5274. label000034D8:
  5275. 000034D8  4A43                     tst.w      D3
  5276. 000034DA  6620                     bne        +0x22 /* 000034FC */
  5277. 000034DC  4857                     pea.l      [A7]
  5278. 000034DE  486F 000C                pea.l      [A7 + 0xC]
  5279. 000034E2  206F 0026                movea.l    A0, [A7 + 0x26]
  5280. 000034E6  4868 0004                pea.l      [A0 + 0x4]
  5281. 000034EA  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  5282. 000034EE  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  5283. 000034F2  4EBA F4B2                jsr        [PC - 0xB4E /* 000029A6 */]
  5284. 000034F6  3600                     move.w     D3, D0
  5285. 000034F8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5286. label000034FC:
  5287. 000034FC  4A43                     tst.w      D3
  5288. 000034FE  6610                     bne        +0x12 /* 00003510 */
  5289. 00003500  202F 000C                move.l     D0, [A7 + 0xC]
  5290. 00003504  B0AF 0008                cmp.l      D0, [A7 + 0x8]
  5291. 00003508  6206                     bhi        +0x8 /* 00003510 */
  5292. 0000350A  206F 0026                movea.l    A0, [A7 + 0x26]
  5293. 0000350E  4250                     clr.w      [A0]
  5294. label00003510:
  5295. 00003510  3003                     move.w     D0, D3
  5296. 00003512  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5297. 00003516  261F                     move.l     D3, [A7]+
  5298. 00003518  4E75                     rts
  5299. fn0000351A:
  5300. 0000351A  2F03                     move.l     -[A7], D3
  5301. 0000351C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  5302. 00003520  7600                     moveq.l    D3, 0x00
  5303. 00003522  4A43                     tst.w      D3
  5304. 00003524  661A                     bne        +0x1C /* 00003540 */
  5305. 00003526  486F 000C                pea.l      [A7 + 0xC]
  5306. 0000352A  486F 0008                pea.l      [A7 + 0x8]
  5307. 0000352E  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  5308. 00003532  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  5309. 00003536  4EBA F4C0                jsr        [PC - 0xB40 /* 000029F8 */]
  5310. 0000353A  3600                     move.w     D3, D0
  5311. 0000353C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5312. label00003540:
  5313. 00003540  4A43                     tst.w      D3
  5314. 00003542  6622                     bne        +0x24 /* 00003566 */
  5315. 00003544  486F 0008                pea.l      [A7 + 0x8]
  5316. 00003548  486F 0004                pea.l      [A7 + 0x4]
  5317. 0000354C  206F 0026                movea.l    A0, [A7 + 0x26]
  5318. 00003550  4868 0004                pea.l      [A0 + 0x4]
  5319. 00003554  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  5320. 00003558  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  5321. 0000355C  4EBA F448                jsr        [PC - 0xBB8 /* 000029A6 */]
  5322. 00003560  3600                     move.w     D3, D0
  5323. 00003562  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5324. label00003566:
  5325. 00003566  4A43                     tst.w      D3
  5326. 00003568  6610                     bne        +0x12 /* 0000357A */
  5327. 0000356A  202F 000C                move.l     D0, [A7 + 0xC]
  5328. 0000356E  B0AF 0008                cmp.l      D0, [A7 + 0x8]
  5329. 00003572  6206                     bhi        +0x8 /* 0000357A */
  5330. 00003574  206F 0026                movea.l    A0, [A7 + 0x26]
  5331. 00003578  4250                     clr.w      [A0]
  5332. label0000357A:
  5333. 0000357A  3003                     move.w     D0, D3
  5334. 0000357C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5335. 00003580  261F                     move.l     D3, [A7]+
  5336. 00003582  4E75                     rts
  5337. fn00003584:
  5338. 00003584  2F03                     move.l     -[A7], D3
  5339. 00003586  514F                     subq.w     A7, 8
  5340. 00003588  7600                     moveq.l    D3, 0x00
  5341. 0000358A  4A43                     tst.w      D3
  5342. 0000358C  6622                     bne        +0x24 /* 000035B0 */
  5343. 0000358E  486F 0004                pea.l      [A7 + 0x4]
  5344. 00003592  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5345. 00003596  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5346. 0000359A  4EBA F360                jsr        [PC - 0xCA0 /* 000028FC */]
  5347. 0000359E  3600                     move.w     D3, D0
  5348. 000035A0  4A43                     tst.w      D3
  5349. 000035A2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5350. 000035A6  6708                     beq        +0xA /* 000035B0 */
  5351. 000035A8  2F6D EC38 0004           move.l     [A7 + 0x4], [A5 - 0x13C8]
  5352. 000035AE  7600                     moveq.l    D3, 0x00
  5353. label000035B0:
  5354. 000035B0  4A43                     tst.w      D3
  5355. 000035B2  6626                     bne        +0x28 /* 000035DA */
  5356. 000035B4  4857                     pea.l      [A7]
  5357. 000035B6  206F 001A                movea.l    A0, [A7 + 0x1A]
  5358. 000035BA  4868 0004                pea.l      [A0 + 0x4]
  5359. 000035BE  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  5360. 000035C2  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  5361. 000035C6  4EBA F2B2                jsr        [PC - 0xD4E /* 0000287A */]
  5362. 000035CA  3600                     move.w     D3, D0
  5363. 000035CC  4A43                     tst.w      D3
  5364. 000035CE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5365. 000035D2  6706                     beq        +0x8 /* 000035DA */
  5366. 000035D4  2EAD EC38                move.l     [A7], [A5 - 0x13C8]
  5367. 000035D8  7600                     moveq.l    D3, 0x00
  5368. label000035DA:
  5369. 000035DA  4A43                     tst.w      D3
  5370. 000035DC  6600 0082                bne        +0x84 /* 00003660 */
  5371. 000035E0  3017                     move.w     D0, [A7]
  5372. 000035E2  E048                     lsr        D0.w, 8
  5373. 000035E4  322F 0004                move.w     D1, [A7 + 0x4]
  5374. 000035E8  E049                     lsr        D1.w, 8
  5375. 000035EA  B240                     cmp.w      D1, D0
  5376. 000035EC  656C                     bcs        +0x6E /* 0000365A */
  5377. 000035EE  3017                     move.w     D0, [A7]
  5378. 000035F0  E048                     lsr        D0.w, 8
  5379. 000035F2  322F 0004                move.w     D1, [A7 + 0x4]
  5380. 000035F6  E049                     lsr        D1.w, 8
  5381. 000035F8  B240                     cmp.w      D1, D0
  5382. 000035FA  6664                     bne        +0x66 /* 00003660 */
  5383. 000035FC  102F 0001                move.b     D0, [A7 + 0x1]
  5384. 00003600  E808                     lsr        D0.b, 4
  5385. 00003602  122F 0005                move.b     D1, [A7 + 0x5]
  5386. 00003606  E809                     lsr        D1.b, 4
  5387. 00003608  B200                     cmp.b      D1, D0
  5388. 0000360A  654E                     bcs        +0x50 /* 0000365A */
  5389. 0000360C  102F 0001                move.b     D0, [A7 + 0x1]
  5390. 00003610  E808                     lsr        D0.b, 4
  5391. 00003612  122F 0005                move.b     D1, [A7 + 0x5]
  5392. 00003616  E809                     lsr        D1.b, 4
  5393. 00003618  B200                     cmp.b      D1, D0
  5394. 0000361A  6644                     bne        +0x46 /* 00003660 */
  5395. 0000361C  700F                     moveq.l    D0, 0x0F
  5396. 0000361E  C02F 0001                and.b      D0, [A7 + 0x1]
  5397. 00003622  720F                     moveq.l    D1, 0x0F
  5398. 00003624  C22F 0005                and.b      D1, [A7 + 0x5]
  5399. 00003628  B200                     cmp.b      D1, D0
  5400. 0000362A  652E                     bcs        +0x30 /* 0000365A */
  5401. 0000362C  700F                     moveq.l    D0, 0x0F
  5402. 0000362E  C02F 0001                and.b      D0, [A7 + 0x1]
  5403. 00003632  720F                     moveq.l    D1, 0x0F
  5404. 00003634  C22F 0005                and.b      D1, [A7 + 0x5]
  5405. 00003638  B200                     cmp.b      D1, D0
  5406. 0000363A  6624                     bne        +0x26 /* 00003660 */
  5407. 0000363C  102F 0006                move.b     D0, [A7 + 0x6]
  5408. 00003640  B02F 0002                cmp.b      D0, [A7 + 0x2]
  5409. 00003644  6514                     bcs        +0x16 /* 0000365A */
  5410. 00003646  102F 0006                move.b     D0, [A7 + 0x6]
  5411. 0000364A  B02F 0002                cmp.b      D0, [A7 + 0x2]
  5412. 0000364E  6610                     bne        +0x12 /* 00003660 */
  5413. 00003650  102F 0007                move.b     D0, [A7 + 0x7]
  5414. 00003654  B02F 0003                cmp.b      D0, [A7 + 0x3]
  5415. 00003658  6206                     bhi        +0x8 /* 00003660 */
  5416. label0000365A:
  5417. 0000365A  206F 001E                movea.l    A0, [A7 + 0x1E]
  5418. 0000365E  4250                     clr.w      [A0]
  5419. label00003660:
  5420. 00003660  3003                     move.w     D0, D3
  5421. 00003662  504F                     addq.w     A7, 8
  5422. 00003664  261F                     move.l     D3, [A7]+
  5423. 00003666  4E75                     rts
  5424. fn00003668:
  5425. 00003668  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  5426. 0000366C  4FEF FEFE                lea.l      A7, [A7 - 0x102]
  5427. 00003670  286F 0116                movea.l    A4, [A7 + 0x116]
  5428. 00003674  266F 011A                movea.l    A3, [A7 + 0x11A]
  5429. 00003678  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  5430. 0000367C  4EAD FBA0                jsr        [A5 - 0x460]
  5431. 00003680  4A00                     tst.b      D0
  5432. 00003682  544F                     addq.w     A7, 2
  5433. 00003684  6606                     bne        +0x8 /* 0000368C */
  5434. 00003686  7000                     moveq.l    D0, 0x00
  5435. 00003688  6000 0102                bra        +0x104 /* 0000378C */
  5436. label0000368C:
  5437. 0000368C  0C2D 0001 E8C0           cmpi.b     [A5 - 0x1740], 0x1
  5438. 00003692  6606                     bne        +0x8 /* 0000369A */
  5439. 00003694  7000                     moveq.l    D0, 0x00
  5440. 00003696  6000 00F4                bra        +0xF6 /* 0000378C */
  5441. label0000369A:
  5442. 0000369A  2F3C 7D07 000A           move.l     -[A7], 0x7D07000A
  5443. 000036A0  4EAD FE98                jsr        [A5 - 0x168]
  5444. 000036A4  2448                     movea.l    A2, A0
  5445. 000036A6  200A                     move.l     D0, A2
  5446. 000036A8  4A80                     tst.l      D0
  5447. 000036AA  584F                     addq.w     A7, 4
  5448. 000036AC  6700 00DC                beq        +0xDE /* 0000378A */
  5449. 000036B0  1F3C 0003                move.b     -[A7], 0x3
  5450. 000036B4  4EBA D254                jsr        [PC - 0x2DAC /* 0000090A */]
  5451. 000036B8  0C00 0041                cmpi.b     D0, 0x41 /* 'A' */
  5452. 000036BC  544F                     addq.w     A7, 2
  5453. 000036BE  6708                     beq        +0xA /* 000036C8 */
  5454. 000036C0  2F0A                     move.l     -[A7], A2
  5455. 000036C2  3F3C 0003                move.w     -[A7], 0x3
  5456. 000036C6  A827                     syscall    HideDialogItem/HideDItem
  5457. label000036C8:
  5458. 000036C8  1B7C 0001 E533           move.b     [A5 - 0x1ACD], 0x1
  5459. 000036CE  486D E4A8                pea.l      [A5 - 0x1B58]
  5460. 000036D2  A851                     syscall    SetCursor
  5461. 000036D4  3F3C 0005                move.w     -[A7], 0x5
  5462. 000036D8  A9C8                     syscall    SysBeep
  5463. 000036DA  486F 0002                pea.l      [A7 + 0x2]
  5464. 000036DE  3F3C 7D07                move.w     -[A7], 0x7D07
  5465. 000036E2  7002                     moveq.l    D0, 0x02
  5466. 000036E4  B0AF 0124                cmp.l      D0, [A7 + 0x124]
  5467. 000036E8  6704                     beq        +0x6 /* 000036EE */
  5468. 000036EA  7001                     moveq.l    D0, 0x01
  5469. 000036EC  6002                     bra        +0x4 /* 000036F0 */
  5470. label000036EE:
  5471. 000036EE  7002                     moveq.l    D0, 0x02
  5472. label000036F0:
  5473. 000036F0  3F00                     move.w     -[A7], D0
  5474. 000036F2  4EAD FF80                jsr        [A5 - 0x80]
  5475. 000036F6  554F                     subq.w     A7, 2
  5476. 000036F8  2F0C                     move.l     -[A7], A4
  5477. 000036FA  486D FA1E                pea.l      [A5 - 0x5E2]
  5478. 000036FE  1F3C 0001                move.b     -[A7], 0x1
  5479. 00003702  1F3C 0001                move.b     -[A7], 0x1
  5480. 00003706  4EAD FEC8                jsr        [A5 - 0x138]
  5481. 0000370A  101F                     move.b     D0, [A7]+
  5482. 0000370C  6610                     bne        +0x12 /* 0000371E */
  5483. 0000370E  2F0C                     move.l     -[A7], A4
  5484. 00003710  486F 0006                pea.l      [A7 + 0x6]
  5485. 00003714  2F0B                     move.l     -[A7], A3
  5486. 00003716  486D FA25                pea.l      [A5 - 0x5DB]
  5487. 0000371A  A98B                     syscall    ParamText
  5488. 0000371C  6010                     bra        +0x12 /* 0000372E */
  5489. label0000371E:
  5490. 0000371E  486D FA26                pea.l      [A5 - 0x5DA]
  5491. 00003722  486F 0006                pea.l      [A7 + 0x6]
  5492. 00003726  2F0B                     move.l     -[A7], A3
  5493. 00003728  486D FA25                pea.l      [A5 - 0x5DB]
  5494. 0000372C  A98B                     syscall    ParamText
  5495. label0000372E:
  5496. 0000372E  2F0A                     move.l     -[A7], A2
  5497. 00003730  A915                     syscall    ShowWindow
  5498. 00003732  2F0A                     move.l     -[A7], A2
  5499. 00003734  A922                     syscall    BeginUpdate
  5500. 00003736  2F0A                     move.l     -[A7], A2
  5501. 00003738  A981                     syscall    DrawDialog
  5502. 0000373A  3F3C 0001                move.w     -[A7], 0x1
  5503. 0000373E  2F0A                     move.l     -[A7], A2
  5504. 00003740  4EAD FE90                jsr        [A5 - 0x170]
  5505. 00003744  2F0A                     move.l     -[A7], A2
  5506. 00003746  A923                     syscall    EndUpdate
  5507. 00003748  7600                     moveq.l    D3, 0x00
  5508. 0000374A  5C4F                     addq.w     A7, 6
  5509. 0000374C  6030                     bra        +0x32 /* 0000377E */
  5510. label0000374E:
  5511. 0000374E  42A7                     clr.l      -[A7]
  5512. 00003750  486F 0004                pea.l      [A7 + 0x4]
  5513. 00003754  A991                     syscall    ModalDialog
  5514. 00003756  3017                     move.w     D0, [A7]
  5515. 00003758  48C0                     ext.l      D0
  5516. 0000375A  5380                     subq.l     D0, 1
  5517. 0000375C  670A                     beq        +0xC /* 00003768 */
  5518. 0000375E  5380                     subq.l     D0, 1
  5519. 00003760  670A                     beq        +0xC /* 0000376C */
  5520. 00003762  5380                     subq.l     D0, 1
  5521. 00003764  6710                     beq        +0x12 /* 00003776 */
  5522. 00003766  6016                     bra        +0x18 /* 0000377E */
  5523. label00003768:
  5524. 00003768  7601                     moveq.l    D3, 0x01
  5525. 0000376A  6012                     bra        +0x14 /* 0000377E */
  5526. label0000376C:
  5527. 0000376C  206F 0122                movea.l    A0, [A7 + 0x122]
  5528. 00003770  4250                     clr.w      [A0]
  5529. 00003772  7601                     moveq.l    D3, 0x01
  5530. 00003774  6008                     bra        +0xA /* 0000377E */
  5531. label00003776:
  5532. 00003776  1B7C 0001 E8C0           move.b     [A5 - 0x1740], 0x1
  5533. 0000377C  7601                     moveq.l    D3, 0x01
  5534. label0000377E:
  5535. 0000377E  4A03                     tst.b      D3
  5536. 00003780  67CC                     beq        -0x32 /* 0000374E */
  5537. 00003782  2F0A                     move.l     -[A7], A2
  5538. 00003784  A983                     syscall    DisposeDialog
  5539. 00003786  422D E533                clr.b      [A5 - 0x1ACD]
  5540. label0000378A:
  5541. 0000378A  7000                     moveq.l    D0, 0x00
  5542. label0000378C:
  5543. 0000378C  4FEF 0102                lea.l      A7, [A7 + 0x102]
  5544. 00003790  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5545. 00003794  4E75                     rts
  5546. fn00003796:
  5547. 00003796  2F03                     move.l     -[A7], D3
  5548. 00003798  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  5549. 0000379C  2F6F 0088 0012           move.l     [A7 + 0x12], [A7 + 0x88]
  5550. 000037A2  3F6F 0082 0016           move.w     [A7 + 0x16], [A7 + 0x82]
  5551. 000037A8  2F6F 0084 0030           move.l     [A7 + 0x30], [A7 + 0x84]
  5552. 000037AE  422F 001F                clr.b      [A7 + 0x1F]
  5553. 000037B2  422F 001A                clr.b      [A7 + 0x1A]
  5554. 000037B6  426F 001C                clr.w      [A7 + 0x1C]
  5555. 000037BA  41D7                     lea.l      A0, [A7]
  5556. 000037BC  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  5557. 000037BE  4A40                     tst.w      D0
  5558. 000037C0  57C0                     seq        D0
  5559. 000037C2  4400                     neg.b      D0
  5560. 000037C4  4880                     ext.w      D0
  5561. 000037C6  48C0                     ext.l      D0
  5562. 000037C8  1600                     move.b     D3, D0
  5563. 000037CA  4A03                     tst.b      D3
  5564. 000037CC  670C                     beq        +0xE /* 000037DA */
  5565. 000037CE  102F 001E                move.b     D0, [A7 + 0x1E]
  5566. 000037D2  7210                     moveq.l    D1, 0x10
  5567. 000037D4  C081                     and.l      D0, D1
  5568. 000037D6  6702                     beq        +0x4 /* 000037DA */
  5569. 000037D8  7600                     moveq.l    D3, 0x00
  5570. label000037DA:
  5571. 000037DA  1003                     move.b     D0, D3
  5572. 000037DC  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  5573. 000037E0  261F                     move.l     D3, [A7]+
  5574. 000037E2  4E75                     rts
  5575. fn000037E4:
  5576. 000037E4  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  5577. 000037E8  2C6F 0024                movea.l    A6, [A7 + 0x24]
  5578. 000037EC  266F 0028                movea.l    A3, [A7 + 0x28]
  5579. 000037F0  246F 002C                movea.l    A2, [A7 + 0x2C]
  5580. 000037F4  2A2F 0030                move.l     D5, [A7 + 0x30]
  5581. 000037F8  286F 0034                movea.l    A4, [A7 + 0x34]
  5582. 000037FC  7600                     moveq.l    D3, 0x00
  5583. 000037FE  486A 0004                pea.l      [A2 + 0x4]
  5584. 00003802  2F13                     move.l     -[A7], [A3]
  5585. 00003804  3F16                     move.w     -[A7], [A6]
  5586. 00003806  4EBA FF8E                jsr        [PC - 0x72 /* 00003796 */]
  5587. 0000380A  1800                     move.b     D4, D0
  5588. 0000380C  1F04                     move.b     -[A7], D4
  5589. 0000380E  2F0A                     move.l     -[A7], A2
  5590. 00003810  4EBA F4A0                jsr        [PC - 0xB60 /* 00002CB2 */]
  5591. 00003814  3880                     move.w     [A4], D0
  5592. 00003816  486D EC7C                pea.l      [A5 - 0x1384]
  5593. 0000381A  2F13                     move.l     -[A7], [A3]
  5594. 0000381C  3F16                     move.w     -[A7], [A6]
  5595. 0000381E  4EAD FBB8                jsr        [A5 - 0x448]
  5596. 00003822  3014                     move.w     D0, [A4]
  5597. 00003824  7202                     moveq.l    D1, 0x02
  5598. 00003826  C081                     and.l      D0, D1
  5599. 00003828  4A80                     tst.l      D0
  5600. 0000382A  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5601. 0000382E  6604                     bne        +0x6 /* 00003834 */
  5602. 00003830  7000                     moveq.l    D0, 0x00
  5603. 00003832  6002                     bra        +0x4 /* 00003836 */
  5604. label00003834:
  5605. 00003834  7001                     moveq.l    D0, 0x01
  5606. label00003836:
  5607. 00003836  4A80                     tst.l      D0
  5608. 00003838  6700 009A                beq        +0x9C /* 000038D4 */
  5609. 0000383C  3014                     move.w     D0, [A4]
  5610. 0000383E  7201                     moveq.l    D1, 0x01
  5611. 00003840  C081                     and.l      D0, D1
  5612. 00003842  4A80                     tst.l      D0
  5613. 00003844  6604                     bne        +0x6 /* 0000384A */
  5614. 00003846  7000                     moveq.l    D0, 0x00
  5615. 00003848  6002                     bra        +0x4 /* 0000384C */
  5616. label0000384A:
  5617. 0000384A  7001                     moveq.l    D0, 0x01
  5618. label0000384C:
  5619. 0000384C  4A80                     tst.l      D0
  5620. 0000384E  6700 0084                beq        +0x86 /* 000038D4 */
  5621. 00003852  7000                     moveq.l    D0, 0x00
  5622. 00003854  102A 0045                move.b     D0, [A2 + 0x45]
  5623. 00003858  0480 0000 0041           subi.l     D0, 0x41 /* 'A' */
  5624. 0000385E  6774                     beq        +0x76 /* 000038D4 */
  5625. 00003860  5580                     subq.l     D0, 2
  5626. 00003862  6718                     beq        +0x1A /* 0000387C */
  5627. 00003864  5180                     subq.l     D0, 8
  5628. 00003866  5580                     subq.l     D0, 2
  5629. 00003868  6728                     beq        +0x2A /* 00003892 */
  5630. 0000386A  5380                     subq.l     D0, 1
  5631. 0000386C  670A                     beq        +0xC /* 00003878 */
  5632. 0000386E  5580                     subq.l     D0, 2
  5633. 00003870  674C                     beq        +0x4E /* 000038BE */
  5634. 00003872  5D80                     subq.l     D0, 6
  5635. 00003874  6732                     beq        +0x34 /* 000038A8 */
  5636. 00003876  605C                     bra        +0x5E /* 000038D4 */
  5637. label00003878:
  5638. 00003878  4254                     clr.w      [A4]
  5639. 0000387A  6058                     bra        +0x5A /* 000038D4 */
  5640. label0000387C:
  5641. 0000387C  2F0C                     move.l     -[A7], A4
  5642. 0000387E  2F05                     move.l     -[A7], D5
  5643. 00003880  2F0A                     move.l     -[A7], A2
  5644. 00003882  2F13                     move.l     -[A7], [A3]
  5645. 00003884  3F16                     move.w     -[A7], [A6]
  5646. 00003886  4EBA FC2A                jsr        [PC - 0x3D6 /* 000034B2 */]
  5647. 0000388A  3600                     move.w     D3, D0
  5648. 0000388C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5649. 00003890  6042                     bra        +0x44 /* 000038D4 */
  5650. label00003892:
  5651. 00003892  2F0C                     move.l     -[A7], A4
  5652. 00003894  2F05                     move.l     -[A7], D5
  5653. 00003896  2F0A                     move.l     -[A7], A2
  5654. 00003898  2F13                     move.l     -[A7], [A3]
  5655. 0000389A  3F16                     move.w     -[A7], [A6]
  5656. 0000389C  4EBA FC7C                jsr        [PC - 0x384 /* 0000351A */]
  5657. 000038A0  3600                     move.w     D3, D0
  5658. 000038A2  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5659. 000038A6  602C                     bra        +0x2E /* 000038D4 */
  5660. label000038A8:
  5661. 000038A8  2F0C                     move.l     -[A7], A4
  5662. 000038AA  2F05                     move.l     -[A7], D5
  5663. 000038AC  2F0A                     move.l     -[A7], A2
  5664. 000038AE  2F13                     move.l     -[A7], [A3]
  5665. 000038B0  3F16                     move.w     -[A7], [A6]
  5666. 000038B2  4EBA FCD0                jsr        [PC - 0x330 /* 00003584 */]
  5667. 000038B6  3600                     move.w     D3, D0
  5668. 000038B8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5669. 000038BC  6016                     bra        +0x18 /* 000038D4 */
  5670. label000038BE:
  5671. 000038BE  2F0C                     move.l     -[A7], A4
  5672. 000038C0  2F13                     move.l     -[A7], [A3]
  5673. 000038C2  486D EC7C                pea.l      [A5 - 0x1384]
  5674. 000038C6  486A 0004                pea.l      [A2 + 0x4]
  5675. 000038CA  4EBA FD9C                jsr        [PC - 0x264 /* 00003668 */]
  5676. 000038CE  3600                     move.w     D3, D0
  5677. 000038D0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5678. label000038D4:
  5679. 000038D4  3014                     move.w     D0, [A4]
  5680. 000038D6  7201                     moveq.l    D1, 0x01
  5681. 000038D8  C081                     and.l      D0, D1
  5682. 000038DA  4A80                     tst.l      D0
  5683. 000038DC  6604                     bne        +0x6 /* 000038E2 */
  5684. 000038DE  7000                     moveq.l    D0, 0x00
  5685. 000038E0  6002                     bra        +0x4 /* 000038E4 */
  5686. label000038E2:
  5687. 000038E2  7001                     moveq.l    D0, 0x01
  5688. label000038E4:
  5689. 000038E4  4A80                     tst.l      D0
  5690. 000038E6  6714                     beq        +0x16 /* 000038FC */
  5691. 000038E8  4A43                     tst.w      D3
  5692. 000038EA  6610                     bne        +0x12 /* 000038FC */
  5693. 000038EC  2F13                     move.l     -[A7], [A3]
  5694. 000038EE  3F16                     move.w     -[A7], [A6]
  5695. 000038F0  2F0A                     move.l     -[A7], A2
  5696. 000038F2  4EBA EDE6                jsr        [PC - 0x121A /* 000026DA */]
  5697. 000038F6  3600                     move.w     D3, D0
  5698. 000038F8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5699. label000038FC:
  5700. 000038FC  3014                     move.w     D0, [A4]
  5701. 000038FE  7202                     moveq.l    D1, 0x02
  5702. 00003900  C081                     and.l      D0, D1
  5703. 00003902  4A80                     tst.l      D0
  5704. 00003904  6604                     bne        +0x6 /* 0000390A */
  5705. 00003906  7000                     moveq.l    D0, 0x00
  5706. 00003908  6002                     bra        +0x4 /* 0000390C */
  5707. label0000390A:
  5708. 0000390A  7001                     moveq.l    D0, 0x01
  5709. label0000390C:
  5710. 0000390C  4A80                     tst.l      D0
  5711. 0000390E  6716                     beq        +0x18 /* 00003926 */
  5712. 00003910  4A43                     tst.w      D3
  5713. 00003912  6612                     bne        +0x14 /* 00003926 */
  5714. 00003914  486A 0004                pea.l      [A2 + 0x4]
  5715. 00003918  2F13                     move.l     -[A7], [A3]
  5716. 0000391A  3F16                     move.w     -[A7], [A6]
  5717. 0000391C  4EBA CBA4                jsr        [PC - 0x345C /* 000004C2 */]
  5718. 00003920  3600                     move.w     D3, D0
  5719. 00003922  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5720. label00003926:
  5721. 00003926  3014                     move.w     D0, [A4]
  5722. 00003928  7201                     moveq.l    D1, 0x01
  5723. 0000392A  C081                     and.l      D0, D1
  5724. 0000392C  4A80                     tst.l      D0
  5725. 0000392E  6604                     bne        +0x6 /* 00003934 */
  5726. 00003930  7000                     moveq.l    D0, 0x00
  5727. 00003932  6002                     bra        +0x4 /* 00003936 */
  5728. label00003934:
  5729. 00003934  7001                     moveq.l    D0, 0x01
  5730. label00003936:
  5731. 00003936  4A80                     tst.l      D0
  5732. 00003938  6700 00C4                beq        +0xC6 /* 000039FE */
  5733. 0000393C  4A43                     tst.w      D3
  5734. 0000393E  6600 00BE                bne        +0xC0 /* 000039FE */
  5735. 00003942  4A2A 00A6                tst.b      [A2 + 0xA6]
  5736. 00003946  6708                     beq        +0xA /* 00003950 */
  5737. 00003948  206D EFDC                movea.l    A0, [A5 - 0x1024]
  5738. 0000394C  4A10                     tst.b      [A0]
  5739. 0000394E  6604                     bne        +0x6 /* 00003954 */
  5740. label00003950:
  5741. 00003950  7000                     moveq.l    D0, 0x00
  5742. 00003952  6002                     bra        +0x4 /* 00003956 */
  5743. label00003954:
  5744. 00003954  7001                     moveq.l    D0, 0x01
  5745. label00003956:
  5746. 00003956  1800                     move.b     D4, D0
  5747. 00003958  4AAA 007C                tst.l      [A2 + 0x7C]
  5748. 0000395C  6608                     bne        +0xA /* 00003966 */
  5749. 0000395E  203C 6172 6368           move.l     D0, 0x61726368 /* 'arch' */
  5750. 00003964  6006                     bra        +0x8 /* 0000396C */
  5751. label00003966:
  5752. 00003966  206A 007C                movea.l    A0, [A2 + 0x7C]
  5753. 0000396A  2010                     move.l     D0, [A0]
  5754. label0000396C:
  5755. 0000396C  2C00                     move.l     D6, D0
  5756. 0000396E  0C86 6172 6368           cmpi.l     D6, 0x61726368 /* 'arch' */
  5757. 00003974  6712                     beq        +0x14 /* 00003988 */
  5758. 00003976  0C86 6C6F 6F73           cmpi.l     D6, 0x6C6F6F73 /* 'loos' */
  5759. 0000397C  672A                     beq        +0x2C /* 000039A8 */
  5760. 0000397E  0C86 6674 7020           cmpi.l     D6, 0x66747020 /* 'ftp ' */
  5761. 00003984  6744                     beq        +0x46 /* 000039CA */
  5762. 00003986  6062                     bra        +0x64 /* 000039EA */
  5763. label00003988:
  5764. 00003988  486D FD60                pea.l      [A5 - 0x2A0]
  5765. 0000398C  1F04                     move.b     -[A7], D4
  5766. 0000398E  2F13                     move.l     -[A7], [A3]
  5767. 00003990  3F16                     move.w     -[A7], [A6]
  5768. 00003992  2F05                     move.l     -[A7], D5
  5769. 00003994  4EAD FE60                jsr        [A5 - 0x1A0]
  5770. 00003998  3600                     move.w     D3, D0
  5771. 0000399A  0C43 8237                cmpi.w     D3, 0x8237
  5772. 0000399E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5773. 000039A2  6646                     bne        +0x48 /* 000039EA */
  5774. 000039A4  7601                     moveq.l    D3, 0x01
  5775. 000039A6  6042                     bra        +0x44 /* 000039EA */
  5776. label000039A8:
  5777. 000039A8  486D FD60                pea.l      [A5 - 0x2A0]
  5778. 000039AC  2F2A 00A8                move.l     -[A7], [A2 + 0xA8]
  5779. 000039B0  1F04                     move.b     -[A7], D4
  5780. 000039B2  486A 0004                pea.l      [A2 + 0x4]
  5781. 000039B6  2F13                     move.l     -[A7], [A3]
  5782. 000039B8  3F16                     move.w     -[A7], [A6]
  5783. 000039BA  2F2A 007C                move.l     -[A7], [A2 + 0x7C]
  5784. 000039BE  4EBA CB60                jsr        [PC - 0x34A0 /* 00000520 */]
  5785. 000039C2  3600                     move.w     D3, D0
  5786. 000039C4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5787. 000039C8  6020                     bra        +0x22 /* 000039EA */
  5788. label000039CA:
  5789. 000039CA  486D FD60                pea.l      [A5 - 0x2A0]
  5790. 000039CE  2F2A 00A8                move.l     -[A7], [A2 + 0xA8]
  5791. 000039D2  1F04                     move.b     -[A7], D4
  5792. 000039D4  486A 0004                pea.l      [A2 + 0x4]
  5793. 000039D8  2F13                     move.l     -[A7], [A3]
  5794. 000039DA  3F16                     move.w     -[A7], [A6]
  5795. 000039DC  2F2A 007C                move.l     -[A7], [A2 + 0x7C]
  5796. 000039E0  4EBA DCAE                jsr        [PC - 0x2352 /* 00001690 */]
  5797. 000039E4  3600                     move.w     D3, D0
  5798. 000039E6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5799. label000039EA:
  5800. 000039EA  4A43                     tst.w      D3
  5801. 000039EC  6710                     beq        +0x12 /* 000039FE */
  5802. 000039EE  486A 0004                pea.l      [A2 + 0x4]
  5803. 000039F2  2F13                     move.l     -[A7], [A3]
  5804. 000039F4  3F16                     move.w     -[A7], [A6]
  5805. 000039F6  4EBA CAB2                jsr        [PC - 0x354E /* 000004AA */]
  5806. 000039FA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5807. label000039FE:
  5808. 000039FE  3003                     move.w     D0, D3
  5809. 00003A00  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5810. 00003A04  4E75                     rts
  5811. fn00003A06:
  5812. 00003A06  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5813. 00003A0A  266F 001C                movea.l    A3, [A7 + 0x1C]
  5814. 00003A0E  2C6F 0020                movea.l    A6, [A7 + 0x20]
  5815. 00003A12  246F 0024                movea.l    A2, [A7 + 0x24]
  5816. 00003A16  286F 0028                movea.l    A4, [A7 + 0x28]
  5817. 00003A1A  7600                     moveq.l    D3, 0x00
  5818. 00003A1C  4214                     clr.b      [A4]
  5819. 00003A1E  4AAB 007C                tst.l      [A3 + 0x7C]
  5820. 00003A22  6608                     bne        +0xA /* 00003A2C */
  5821. 00003A24  203C 6172 6368           move.l     D0, 0x61726368 /* 'arch' */
  5822. 00003A2A  6006                     bra        +0x8 /* 00003A32 */
  5823. label00003A2C:
  5824. 00003A2C  206B 007C                movea.l    A0, [A3 + 0x7C]
  5825. 00003A30  2010                     move.l     D0, [A0]
  5826. label00003A32:
  5827. 00003A32  2600                     move.l     D3, D0
  5828. 00003A34  0C83 6172 6368           cmpi.l     D3, 0x61726368 /* 'arch' */
  5829. 00003A3A  6716                     beq        +0x18 /* 00003A52 */
  5830. 00003A3C  0C83 6C6F 6F73           cmpi.l     D3, 0x6C6F6F73 /* 'loos' */
  5831. 00003A42  677C                     beq        +0x7E /* 00003AC0 */
  5832. 00003A44  0C83 6674 7020           cmpi.l     D3, 0x66747020 /* 'ftp ' */
  5833. 00003A4A  6700 008E                beq        +0x90 /* 00003ADA */
  5834. 00003A4E  6000 00EC                bra        +0xEE /* 00003B3C */
  5835. label00003A52:
  5836. 00003A52  34AD EE80                move.w     [A2], [A5 - 0x1180]
  5837. 00003A56  256D EE7C 0002           move.l     [A2 + 0x2], [A5 - 0x1184]
  5838. 00003A5C  486A 0006                pea.l      [A2 + 0x6]
  5839. 00003A60  2F0E                     move.l     -[A7], A6
  5840. 00003A62  4EAD FE38                jsr        [A5 - 0x1C8]
  5841. 00003A66  2F0A                     move.l     -[A7], A2
  5842. 00003A68  4EBA C59E                jsr        [PC - 0x3A62 /* 00000008 */]
  5843. 00003A6C  3600                     move.w     D3, D0
  5844. 00003A6E  4A43                     tst.w      D3
  5845. 00003A70  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5846. 00003A74  663A                     bne        +0x3C /* 00003AB0 */
  5847. 00003A76  4A2B 00A6                tst.b      [A3 + 0xA6]
  5848. 00003A7A  6708                     beq        +0xA /* 00003A84 */
  5849. 00003A7C  206D EFDC                movea.l    A0, [A5 - 0x1024]
  5850. 00003A80  4A10                     tst.b      [A0]
  5851. 00003A82  6604                     bne        +0x6 /* 00003A88 */
  5852. label00003A84:
  5853. 00003A84  7000                     moveq.l    D0, 0x00
  5854. 00003A86  6002                     bra        +0x4 /* 00003A8A */
  5855. label00003A88:
  5856. 00003A88  7001                     moveq.l    D0, 0x01
  5857. label00003A8A:
  5858. 00003A8A  1800                     move.b     D4, D0
  5859. 00003A8C  486A 0006                pea.l      [A2 + 0x6]
  5860. 00003A90  2F0E                     move.l     -[A7], A6
  5861. 00003A92  4EAD FE40                jsr        [A5 - 0x1C0]
  5862. 00003A96  486D FD60                pea.l      [A5 - 0x2A0]
  5863. 00003A9A  1F04                     move.b     -[A7], D4
  5864. 00003A9C  2F2D EE7C                move.l     -[A7], [A5 - 0x1184]
  5865. 00003AA0  3F2D EE80                move.w     -[A7], [A5 - 0x1180]
  5866. 00003AA4  2F0E                     move.l     -[A7], A6
  5867. 00003AA6  4EAD FE60                jsr        [A5 - 0x1A0]
  5868. 00003AAA  3600                     move.w     D3, D0
  5869. 00003AAC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5870. label00003AB0:
  5871. 00003AB0  0C43 8237                cmpi.w     D3, 0x8237
  5872. 00003AB4  6602                     bne        +0x4 /* 00003AB8 */
  5873. 00003AB6  7601                     moveq.l    D3, 0x01
  5874. label00003AB8:
  5875. 00003AB8  18BC 0001                move.b     [A4], 0x1
  5876. 00003ABC  6000 0080                bra        +0x82 /* 00003B3E */
  5877. label00003AC0:
  5878. 00003AC0  486A 0006                pea.l      [A2 + 0x6]
  5879. 00003AC4  486A 0002                pea.l      [A2 + 0x2]
  5880. 00003AC8  2F0A                     move.l     -[A7], A2
  5881. 00003ACA  2F2B 007C                move.l     -[A7], [A3 + 0x7C]
  5882. 00003ACE  4EBA ECC8                jsr        [PC - 0x1338 /* 00002798 */]
  5883. 00003AD2  3600                     move.w     D3, D0
  5884. 00003AD4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5885. 00003AD8  6064                     bra        +0x66 /* 00003B3E */
  5886. label00003ADA:
  5887. 00003ADA  34AD EE80                move.w     [A2], [A5 - 0x1180]
  5888. 00003ADE  256D EE7C 0002           move.l     [A2 + 0x2], [A5 - 0x1184]
  5889. 00003AE4  41EB 0004                lea.l      A0, [A3 + 0x4]
  5890. 00003AE8  43EA 0006                lea.l      A1, [A2 + 0x6]
  5891. 00003AEC  7040                     moveq.l    D0, 0x40
  5892. 00003AEE  A02E                     syscall    BlockMove/BlockMoveData
  5893. 00003AF0  2F0A                     move.l     -[A7], A2
  5894. 00003AF2  4EBA C514                jsr        [PC - 0x3AEC /* 00000008 */]
  5895. 00003AF6  3600                     move.w     D3, D0
  5896. 00003AF8  4A43                     tst.w      D3
  5897. 00003AFA  584F                     addq.w     A7, 4
  5898. 00003AFC  6638                     bne        +0x3A /* 00003B36 */
  5899. 00003AFE  4A2B 00A6                tst.b      [A3 + 0xA6]
  5900. 00003B02  6708                     beq        +0xA /* 00003B0C */
  5901. 00003B04  206D EFDC                movea.l    A0, [A5 - 0x1024]
  5902. 00003B08  4A10                     tst.b      [A0]
  5903. 00003B0A  6604                     bne        +0x6 /* 00003B10 */
  5904. label00003B0C:
  5905. 00003B0C  7000                     moveq.l    D0, 0x00
  5906. 00003B0E  6002                     bra        +0x4 /* 00003B12 */
  5907. label00003B10:
  5908. 00003B10  7001                     moveq.l    D0, 0x01
  5909. label00003B12:
  5910. 00003B12  1800                     move.b     D4, D0
  5911. 00003B14  486D FD60                pea.l      [A5 - 0x2A0]
  5912. 00003B18  2F2B 00A8                move.l     -[A7], [A3 + 0xA8]
  5913. 00003B1C  1F04                     move.b     -[A7], D4
  5914. 00003B1E  486A 0006                pea.l      [A2 + 0x6]
  5915. 00003B22  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5916. 00003B26  3F12                     move.w     -[A7], [A2]
  5917. 00003B28  2F2B 007C                move.l     -[A7], [A3 + 0x7C]
  5918. 00003B2C  4EBA DB62                jsr        [PC - 0x249E /* 00001690 */]
  5919. 00003B30  3600                     move.w     D3, D0
  5920. 00003B32  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5921. label00003B36:
  5922. 00003B36  18BC 0001                move.b     [A4], 0x1
  5923. 00003B3A  6002                     bra        +0x4 /* 00003B3E */
  5924. label00003B3C:
  5925. 00003B3C  76FF                     moveq.l    D3, 0xFFFFFFFF
  5926. label00003B3E:
  5927. 00003B3E  3003                     move.w     D0, D3
  5928. 00003B40  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5929. 00003B44  4E75                     rts
  5930. fn00003B46:
  5931. 00003B46  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5932. 00003B4A  4FEF FF72                lea.l      A7, [A7 - 0x8E]
  5933. 00003B4E  2C6F 00AA                movea.l    A6, [A7 + 0xAA]
  5934. 00003B52  286F 00AE                movea.l    A4, [A7 + 0xAE]
  5935. 00003B56  246F 00B2                movea.l    A2, [A7 + 0xB2]
  5936. 00003B5A  266F 00BA                movea.l    A3, [A7 + 0xBA]
  5937. 00003B5E  7600                     moveq.l    D3, 0x00
  5938. 00003B60  486A 0004                pea.l      [A2 + 0x4]
  5939. 00003B64  2F14                     move.l     -[A7], [A4]
  5940. 00003B66  3F16                     move.w     -[A7], [A6]
  5941. 00003B68  4EBA FC2C                jsr        [PC - 0x3D4 /* 00003796 */]
  5942. 00003B6C  1800                     move.b     D4, D0
  5943. 00003B6E  4A04                     tst.b      D4
  5944. 00003B70  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5945. 00003B74  6604                     bne        +0x6 /* 00003B7A */
  5946. 00003B76  7000                     moveq.l    D0, 0x00
  5947. 00003B78  600C                     bra        +0xE /* 00003B86 */
  5948. label00003B7A:
  5949. 00003B7A  4227                     clr.b      -[A7]
  5950. 00003B7C  2F0A                     move.l     -[A7], A2
  5951. 00003B7E  4EBA F132                jsr        [PC - 0xECE /* 00002CB2 */]
  5952. 00003B82  48C0                     ext.l      D0
  5953. 00003B84  5C4F                     addq.w     A7, 6
  5954. label00003B86:
  5955. 00003B86  3680                     move.w     [A3], D0
  5956. 00003B88  3013                     move.w     D0, [A3]
  5957. 00003B8A  7201                     moveq.l    D1, 0x01
  5958. 00003B8C  C081                     and.l      D0, D1
  5959. 00003B8E  4A80                     tst.l      D0
  5960. 00003B90  6604                     bne        +0x6 /* 00003B96 */
  5961. 00003B92  7000                     moveq.l    D0, 0x00
  5962. 00003B94  6002                     bra        +0x4 /* 00003B98 */
  5963. label00003B96:
  5964. 00003B96  7001                     moveq.l    D0, 0x01
  5965. label00003B98:
  5966. 00003B98  4A80                     tst.l      D0
  5967. 00003B9A  6714                     beq        +0x16 /* 00003BB0 */
  5968. 00003B9C  4A43                     tst.w      D3
  5969. 00003B9E  6610                     bne        +0x12 /* 00003BB0 */
  5970. 00003BA0  2F14                     move.l     -[A7], [A4]
  5971. 00003BA2  3F16                     move.w     -[A7], [A6]
  5972. 00003BA4  2F0A                     move.l     -[A7], A2
  5973. 00003BA6  4EBA EB32                jsr        [PC - 0x14CE /* 000026DA */]
  5974. 00003BAA  3600                     move.w     D3, D0
  5975. 00003BAC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5976. label00003BB0:
  5977. 00003BB0  3013                     move.w     D0, [A3]
  5978. 00003BB2  7201                     moveq.l    D1, 0x01
  5979. 00003BB4  C081                     and.l      D0, D1
  5980. 00003BB6  4A80                     tst.l      D0
  5981. 00003BB8  6604                     bne        +0x6 /* 00003BBE */
  5982. 00003BBA  7000                     moveq.l    D0, 0x00
  5983. 00003BBC  6002                     bra        +0x4 /* 00003BC0 */
  5984. label00003BBE:
  5985. 00003BBE  7001                     moveq.l    D0, 0x01
  5986. label00003BC0:
  5987. 00003BC0  4A80                     tst.l      D0
  5988. 00003BC2  6700 009C                beq        +0x9E /* 00003C60 */
  5989. 00003BC6  4A43                     tst.w      D3
  5990. 00003BC8  6600 0096                bne        +0x98 /* 00003C60 */
  5991. 00003BCC  486F 0001                pea.l      [A7 + 0x1]
  5992. 00003BD0  486F 0006                pea.l      [A7 + 0x6]
  5993. 00003BD4  2F2F 00BE                move.l     -[A7], [A7 + 0xBE]
  5994. 00003BD8  2F0A                     move.l     -[A7], A2
  5995. 00003BDA  4EBA FE2A                jsr        [PC - 0x1D6 /* 00003A06 */]
  5996. 00003BDE  3600                     move.w     D3, D0
  5997. 00003BE0  4A43                     tst.w      D3
  5998. 00003BE2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5999. 00003BE6  665E                     bne        +0x60 /* 00003C46 */
  6000. 00003BE8  3F56 0048                move.w     [A7 + 0x48], [A6]
  6001. 00003BEC  2F54 004A                move.l     [A7 + 0x4A], [A4]
  6002. 00003BF0  41EA 0004                lea.l      A0, [A2 + 0x4]
  6003. 00003BF4  43EF 004E                lea.l      A1, [A7 + 0x4E]
  6004. 00003BF8  7040                     moveq.l    D0, 0x40
  6005. 00003BFA  A02E                     syscall    BlockMove/BlockMoveData
  6006. 00003BFC  486D FD60                pea.l      [A5 - 0x2A0]
  6007. 00003C00  486F 004C                pea.l      [A7 + 0x4C]
  6008. 00003C04  486F 000A                pea.l      [A7 + 0xA]
  6009. 00003C08  4EBA E380                jsr        [PC - 0x1C80 /* 00001F8A */]
  6010. 00003C0C  3600                     move.w     D3, D0
  6011. 00003C0E  4A43                     tst.w      D3
  6012. 00003C10  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6013. 00003C14  6730                     beq        +0x32 /* 00003C46 */
  6014. 00003C16  4A43                     tst.w      D3
  6015. 00003C18  6C18                     bge        +0x1A /* 00003C32 */
  6016. 00003C1A  486F 004E                pea.l      [A7 + 0x4E]
  6017. 00003C1E  2F2F 004E                move.l     -[A7], [A7 + 0x4E]
  6018. 00003C22  3F2F 0050                move.w     -[A7], [A7 + 0x50]
  6019. 00003C26  4EBA C882                jsr        [PC - 0x377E /* 000004AA */]
  6020. 00003C2A  48C3                     ext.l      D3
  6021. 00003C2C  4483                     neg.l      D3
  6022. 00003C2E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6023. label00003C32:
  6024. 00003C32  0C43 0001                cmpi.w     D3, 0x1
  6025. 00003C36  670E                     beq        +0x10 /* 00003C46 */
  6026. 00003C38  3003                     move.w     D0, D3
  6027. 00003C3A  48C0                     ext.l      D0
  6028. 00003C3C  223C FFFF 82B0           move.l     D1, 0xFFFF82B0
  6029. 00003C42  9280                     sub.l      D1, D0
  6030. 00003C44  3601                     move.w     D3, D1
  6031. label00003C46:
  6032. 00003C46  4A2F 0001                tst.b      [A7 + 0x1]
  6033. 00003C4A  6714                     beq        +0x16 /* 00003C60 */
  6034. 00003C4C  486F 0008                pea.l      [A7 + 0x8]
  6035. 00003C50  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  6036. 00003C54  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6037. 00003C58  4EBA C850                jsr        [PC - 0x37B0 /* 000004AA */]
  6038. 00003C5C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6039. label00003C60:
  6040. 00003C60  3003                     move.w     D0, D3
  6041. 00003C62  4FEF 008E                lea.l      A7, [A7 + 0x8E]
  6042. 00003C66  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  6043. 00003C6A  4E75                     rts
  6044. fn00003C6C:
  6045. 00003C6C  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  6046. 00003C70  2C6F 0018                movea.l    A6, [A7 + 0x18]
  6047. 00003C74  286F 001C                movea.l    A4, [A7 + 0x1C]
  6048. 00003C78  266F 0020                movea.l    A3, [A7 + 0x20]
  6049. 00003C7C  246F 0028                movea.l    A2, [A7 + 0x28]
  6050. 00003C80  7600                     moveq.l    D3, 0x00
  6051. 00003C82  4227                     clr.b      -[A7]
  6052. 00003C84  2F0B                     move.l     -[A7], A3
  6053. 00003C86  4EBA F02A                jsr        [PC - 0xFD6 /* 00002CB2 */]
  6054. 00003C8A  3480                     move.w     [A2], D0
  6055. 00003C8C  3012                     move.w     D0, [A2]
  6056. 00003C8E  7201                     moveq.l    D1, 0x01
  6057. 00003C90  C081                     and.l      D0, D1
  6058. 00003C92  4A80                     tst.l      D0
  6059. 00003C94  5C4F                     addq.w     A7, 6
  6060. 00003C96  6604                     bne        +0x6 /* 00003C9C */
  6061. 00003C98  7000                     moveq.l    D0, 0x00
  6062. 00003C9A  6002                     bra        +0x4 /* 00003C9E */
  6063. label00003C9C:
  6064. 00003C9C  7001                     moveq.l    D0, 0x01
  6065. label00003C9E:
  6066. 00003C9E  4A80                     tst.l      D0
  6067. 00003CA0  6714                     beq        +0x16 /* 00003CB6 */
  6068. 00003CA2  4A43                     tst.w      D3
  6069. 00003CA4  6610                     bne        +0x12 /* 00003CB6 */
  6070. 00003CA6  2F14                     move.l     -[A7], [A4]
  6071. 00003CA8  3F16                     move.w     -[A7], [A6]
  6072. 00003CAA  2F0B                     move.l     -[A7], A3
  6073. 00003CAC  4EBA EA2C                jsr        [PC - 0x15D4 /* 000026DA */]
  6074. 00003CB0  3600                     move.w     D3, D0
  6075. 00003CB2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6076. label00003CB6:
  6077. 00003CB6  3012                     move.w     D0, [A2]
  6078. 00003CB8  7201                     moveq.l    D1, 0x01
  6079. 00003CBA  C081                     and.l      D0, D1
  6080. 00003CBC  4A80                     tst.l      D0
  6081. 00003CBE  6604                     bne        +0x6 /* 00003CC4 */
  6082. 00003CC0  7000                     moveq.l    D0, 0x00
  6083. 00003CC2  6002                     bra        +0x4 /* 00003CC6 */
  6084. label00003CC4:
  6085. 00003CC4  7001                     moveq.l    D0, 0x01
  6086. label00003CC6:
  6087. 00003CC6  4A80                     tst.l      D0
  6088. 00003CC8  6716                     beq        +0x18 /* 00003CE0 */
  6089. 00003CCA  4A43                     tst.w      D3
  6090. 00003CCC  6612                     bne        +0x14 /* 00003CE0 */
  6091. 00003CCE  204B                     movea.l    A0, A3
  6092. 00003CD0  A128                     syscall    RecoverHandle, flags=1
  6093. 00003CD2  2F08                     move.l     -[A7], A0
  6094. 00003CD4  2F0C                     move.l     -[A7], A4
  6095. 00003CD6  2F0E                     move.l     -[A7], A6
  6096. 00003CD8  4EBA 218E                jsr        [PC + 0x218E /* 00005E68 */]
  6097. 00003CDC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6098. label00003CE0:
  6099. 00003CE0  3003                     move.w     D0, D3
  6100. 00003CE2  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6101. 00003CE6  4E75                     rts
  6102. fn00003CE8:
  6103. 00003CE8  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6104. 00003CEC  554F                     subq.w     A7, 2
  6105. 00003CEE  2C6F 002A                movea.l    A6, [A7 + 0x2A]
  6106. 00003CF2  286F 002E                movea.l    A4, [A7 + 0x2E]
  6107. 00003CF6  266F 0032                movea.l    A3, [A7 + 0x32]
  6108. 00003CFA  282F 0036                move.l     D4, [A7 + 0x36]
  6109. 00003CFE  7600                     moveq.l    D3, 0x00
  6110. 00003D00  7A01                     moveq.l    D5, 0x01
  6111. 00003D02  2053                     movea.l    A0, [A3]
  6112. 00003D04  4A10                     tst.b      [A0]
  6113. 00003D06  6602                     bne        +0x4 /* 00003D0A */
  6114. 00003D08  7A00                     moveq.l    D5, 0x00
  6115. label00003D0A:
  6116. 00003D0A  4A6D F3F2                tst.w      [A5 - 0xC0E]
  6117. 00003D0E  6716                     beq        +0x18 /* 00003D26 */
  6118. 00003D10  2053                     movea.l    A0, [A3]
  6119. 00003D12  3C28 0002                move.w     D6, [A0 + 0x2]
  6120. 00003D16  48C6                     ext.l      D6
  6121. 00003D18  7006                     moveq.l    D0, 0x06
  6122. 00003D1A  BC80                     cmp.l      D6, D0
  6123. 00003D1C  6708                     beq        +0xA /* 00003D26 */
  6124. 00003D1E  7007                     moveq.l    D0, 0x07
  6125. 00003D20  BC80                     cmp.l      D6, D0
  6126. 00003D22  6702                     beq        +0x4 /* 00003D26 */
  6127. 00003D24  7A00                     moveq.l    D5, 0x00
  6128. label00003D26:
  6129. 00003D26  0C05 0001                cmpi.b     D5, 0x1
  6130. 00003D2A  6600 0178                bne        +0x17A /* 00003EA4 */
  6131. 00003D2E  204B                     movea.l    A0, A3
  6132. 00003D30  A069                     syscall    HGetState
  6133. 00003D32  1A00                     move.b     D5, D0
  6134. 00003D34  204B                     movea.l    A0, A3
  6135. 00003D36  A029                     syscall    HLock
  6136. 00003D38  2453                     movea.l    A2, [A3]
  6137. 00003D3A  3B56 EE80                move.w     [A5 - 0x1180], [A6]
  6138. 00003D3E  2B54 EE7C                move.l     [A5 - 0x1184], [A4]
  6139. 00003D42  422D ED7C                clr.b      [A5 - 0x1284]
  6140. 00003D46  4A2A 0043                tst.b      [A2 + 0x43]
  6141. 00003D4A  670A                     beq        +0xC /* 00003D56 */
  6142. 00003D4C  3F16                     move.w     -[A7], [A6]
  6143. 00003D4E  2F0A                     move.l     -[A7], A2
  6144. 00003D50  4EBA F124                jsr        [PC - 0xEDC /* 00002E76 */]
  6145. 00003D54  5C4F                     addq.w     A7, 6
  6146. label00003D56:
  6147. 00003D56  486D EC7C                pea.l      [A5 - 0x1384]
  6148. 00003D5A  2F14                     move.l     -[A7], [A4]
  6149. 00003D5C  3F16                     move.w     -[A7], [A6]
  6150. 00003D5E  4EAD FBB8                jsr        [A5 - 0x448]
  6151. 00003D62  41EA 0004                lea.l      A0, [A2 + 0x4]
  6152. 00003D66  43ED EC3C                lea.l      A1, [A5 - 0x13C4]
  6153. 00003D6A  7040                     moveq.l    D0, 0x40
  6154. 00003D6C  A02E                     syscall    BlockMove/BlockMoveData
  6155. 00003D6E  2F14                     move.l     -[A7], [A4]
  6156. 00003D70  486D EC7C                pea.l      [A5 - 0x1384]
  6157. 00003D74  486D EC3C                pea.l      [A5 - 0x13C4]
  6158. 00003D78  486D ED7C                pea.l      [A5 - 0x1284]
  6159. 00003D7C  4EBA E536                jsr        [PC - 0x1ACA /* 000022B4 */]
  6160. 00003D80  4A00                     tst.b      D0
  6161. 00003D82  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6162. 00003D86  6600 0114                bne        +0x116 /* 00003E9C */
  6163. 00003D8A  3F3C 0001                move.w     -[A7], 0x1
  6164. 00003D8E  2F2A 006C                move.l     -[A7], [A2 + 0x6C]
  6165. 00003D92  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  6166. 00003D96  2F0B                     move.l     -[A7], A3
  6167. 00003D98  2F0C                     move.l     -[A7], A4
  6168. 00003D9A  2F0E                     move.l     -[A7], A6
  6169. 00003D9C  4EBA 21A6                jsr        [PC + 0x21A6 /* 00005F44 */]
  6170. 00003DA0  3F40 0016                move.w     [A7 + 0x16], D0
  6171. 00003DA4  4A40                     tst.w      D0
  6172. 00003DA6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  6173. 00003DAA  6600 00B6                bne        +0xB8 /* 00003E62 */
  6174. 00003DAE  302A 0002                move.w     D0, [A2 + 0x2]
  6175. 00003DB2  48C0                     ext.l      D0
  6176. 00003DB4  0C80 0000 000A           cmpi.l     D0, 0xA /* '\n' */
  6177. 00003DBA  6200 00A8                bhi        +0xAA /* 00003E64 */
  6178. 00003DBE  D040                     add.w      D0, D0
  6179. 00003DC0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6180. 00003DC4  4EFB 0002                jmp        [PC + D0.w + 0x2]
  6181. 00003DC8  009C 009C 009C           ori.l      [A4]+, 0x9C009C
  6182. 00003DCE  0016 0058                ori.b      [A6], 0x58 /* 'X' */
  6183. 00003DD2  009C 002C 0042           ori.l      [A4]+, 0x2C0042 /* ',\0B' */
  6184. 00003DD8  009C 006E 0084           ori.l      [A4]+, 0x6E0084
  6185. 00003DDE  4857                     pea.l      [A7]
  6186. 00003DE0  2F04                     move.l     -[A7], D4
  6187. 00003DE2  2F0A                     move.l     -[A7], A2
  6188. 00003DE4  2F0C                     move.l     -[A7], A4
  6189. 00003DE6  2F0E                     move.l     -[A7], A6
  6190. 00003DE8  4EBA F1FA                jsr        [PC - 0xE06 /* 00002FE4 */]
  6191. 00003DEC  3600                     move.w     D3, D0
  6192. 00003DEE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6193. 00003DF2  6070                     bra        +0x72 /* 00003E64 */
  6194. 00003DF4  4857                     pea.l      [A7]
  6195. 00003DF6  2F04                     move.l     -[A7], D4
  6196. 00003DF8  2F0A                     move.l     -[A7], A2
  6197. 00003DFA  2F0C                     move.l     -[A7], A4
  6198. 00003DFC  2F0E                     move.l     -[A7], A6
  6199. 00003DFE  4EBA F454                jsr        [PC - 0xBAC /* 00003254 */]
  6200. 00003E02  3600                     move.w     D3, D0
  6201. 00003E04  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6202. 00003E08  605A                     bra        +0x5C /* 00003E64 */
  6203. 00003E0A  4857                     pea.l      [A7]
  6204. 00003E0C  2F04                     move.l     -[A7], D4
  6205. 00003E0E  2F0A                     move.l     -[A7], A2
  6206. 00003E10  2F0C                     move.l     -[A7], A4
  6207. 00003E12  2F0E                     move.l     -[A7], A6
  6208. 00003E14  4EBA F5BA                jsr        [PC - 0xA46 /* 000033D0 */]
  6209. 00003E18  3600                     move.w     D3, D0
  6210. 00003E1A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6211. 00003E1E  6044                     bra        +0x46 /* 00003E64 */
  6212. 00003E20  4857                     pea.l      [A7]
  6213. 00003E22  2F04                     move.l     -[A7], D4
  6214. 00003E24  2F0A                     move.l     -[A7], A2
  6215. 00003E26  2F0C                     move.l     -[A7], A4
  6216. 00003E28  2F0E                     move.l     -[A7], A6
  6217. 00003E2A  4EBA F9B8                jsr        [PC - 0x648 /* 000037E4 */]
  6218. 00003E2E  3600                     move.w     D3, D0
  6219. 00003E30  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6220. 00003E34  602E                     bra        +0x30 /* 00003E64 */
  6221. 00003E36  4857                     pea.l      [A7]
  6222. 00003E38  2F04                     move.l     -[A7], D4
  6223. 00003E3A  2F0A                     move.l     -[A7], A2
  6224. 00003E3C  2F0C                     move.l     -[A7], A4
  6225. 00003E3E  2F0E                     move.l     -[A7], A6
  6226. 00003E40  4EBA FD04                jsr        [PC - 0x2FC /* 00003B46 */]
  6227. 00003E44  3600                     move.w     D3, D0
  6228. 00003E46  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6229. 00003E4A  6018                     bra        +0x1A /* 00003E64 */
  6230. 00003E4C  4857                     pea.l      [A7]
  6231. 00003E4E  2F04                     move.l     -[A7], D4
  6232. 00003E50  2F0A                     move.l     -[A7], A2
  6233. 00003E52  2F0C                     move.l     -[A7], A4
  6234. 00003E54  2F0E                     move.l     -[A7], A6
  6235. 00003E56  4EBA FE14                jsr        [PC - 0x1EC /* 00003C6C */]
  6236. 00003E5A  3600                     move.w     D3, D0
  6237. 00003E5C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6238. 00003E60  6002                     bra        +0x4 /* 00003E64 */
  6239. label00003E62:
  6240. 00003E62  4257                     clr.w      [A7]
  6241. label00003E64:
  6242. 00003E64  3017                     move.w     D0, [A7]
  6243. 00003E66  7201                     moveq.l    D1, 0x01
  6244. 00003E68  C081                     and.l      D0, D1
  6245. 00003E6A  4A80                     tst.l      D0
  6246. 00003E6C  6604                     bne        +0x6 /* 00003E72 */
  6247. 00003E6E  7000                     moveq.l    D0, 0x00
  6248. 00003E70  6002                     bra        +0x4 /* 00003E74 */
  6249. label00003E72:
  6250. 00003E72  7001                     moveq.l    D0, 0x01
  6251. label00003E74:
  6252. 00003E74  4A80                     tst.l      D0
  6253. 00003E76  6726                     beq        +0x28 /* 00003E9E */
  6254. 00003E78  4A43                     tst.w      D3
  6255. 00003E7A  6622                     bne        +0x24 /* 00003E9E */
  6256. 00003E7C  3F3C 0002                move.w     -[A7], 0x2
  6257. 00003E80  2F2A 0074                move.l     -[A7], [A2 + 0x74]
  6258. 00003E84  2F2A 0078                move.l     -[A7], [A2 + 0x78]
  6259. 00003E88  2F0B                     move.l     -[A7], A3
  6260. 00003E8A  2F0C                     move.l     -[A7], A4
  6261. 00003E8C  2F0E                     move.l     -[A7], A6
  6262. 00003E8E  4EBA 20B4                jsr        [PC + 0x20B4 /* 00005F44 */]
  6263. 00003E92  3F40 0016                move.w     [A7 + 0x16], D0
  6264. 00003E96  4FEF 0016                lea.l      A7, [A7 + 0x16]
  6265. 00003E9A  6002                     bra        +0x4 /* 00003E9E */
  6266. label00003E9C:
  6267. 00003E9C  7601                     moveq.l    D3, 0x01
  6268. label00003E9E:
  6269. 00003E9E  204B                     movea.l    A0, A3
  6270. 00003EA0  1005                     move.b     D0, D5
  6271. 00003EA2  A06A                     syscall    HSetState
  6272. label00003EA4:
  6273. 00003EA4  2053                     movea.l    A0, [A3]
  6274. 00003EA6  3E28 0002                move.w     D7, [A0 + 0x2]
  6275. 00003EAA  48C7                     ext.l      D7
  6276. 00003EAC  7004                     moveq.l    D0, 0x04
  6277. 00003EAE  BE80                     cmp.l      D7, D0
  6278. 00003EB0  6706                     beq        +0x8 /* 00003EB8 */
  6279. 00003EB2  7009                     moveq.l    D0, 0x09
  6280. 00003EB4  BE80                     cmp.l      D7, D0
  6281. 00003EB6  662A                     bne        +0x2C /* 00003EE2 */
  6282. label00003EB8:
  6283. 00003EB8  2053                     movea.l    A0, [A3]
  6284. 00003EBA  4AA8 007C                tst.l      [A0 + 0x7C]
  6285. 00003EBE  6608                     bne        +0xA /* 00003EC8 */
  6286. 00003EC0  203C 6172 6368           move.l     D0, 0x61726368 /* 'arch' */
  6287. 00003EC6  6008                     bra        +0xA /* 00003ED0 */
  6288. label00003EC8:
  6289. 00003EC8  2053                     movea.l    A0, [A3]
  6290. 00003ECA  2068 007C                movea.l    A0, [A0 + 0x7C]
  6291. 00003ECE  2010                     move.l     D0, [A0]
  6292. label00003ED0:
  6293. 00003ED0  2A00                     move.l     D5, D0
  6294. 00003ED2  0C85 6172 6368           cmpi.l     D5, 0x61726368 /* 'arch' */
  6295. 00003ED8  6608                     bne        +0xA /* 00003EE2 */
  6296. 00003EDA  2F04                     move.l     -[A7], D4
  6297. 00003EDC  4EAD FE50                jsr        [A5 - 0x1B0]
  6298. 00003EE0  584F                     addq.w     A7, 4
  6299. label00003EE2:
  6300. 00003EE2  3003                     move.w     D0, D3
  6301. 00003EE4  544F                     addq.w     A7, 2
  6302. 00003EE6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6303. 00003EEA  4E75                     rts
  6304. fn00003EEC:
  6305. 00003EEC  2F03                     move.l     -[A7], D3
  6306. 00003EEE  7601                     moveq.l    D3, 0x01
  6307. 00003EF0  601A                     bra        +0x1C /* 00003F0C */
  6308. label00003EF2:
  6309. 00003EF2  3043                     movea.w    A0, D3
  6310. 00003EF4  2008                     move.l     D0, A0
  6311. 00003EF6  EB88                     lsl        D0, 5
  6312. 00003EF8  41ED EEB0                lea.l      A0, [A5 - 0x1150]
  6313. 00003EFC  4870 0800                pea.l      [A0 + D0]
  6314. 00003F00  3F3C 7D04                move.w     -[A7], 0x7D04
  6315. 00003F04  3F03                     move.w     -[A7], D3
  6316. 00003F06  4EAD FF80                jsr        [A5 - 0x80]
  6317. 00003F0A  5243                     addq.w     D3, 1
  6318. label00003F0C:
  6319. 00003F0C  3003                     move.w     D0, D3
  6320. 00003F0E  48C0                     ext.l      D0
  6321. 00003F10  7208                     moveq.l    D1, 0x08
  6322. 00003F12  B081                     cmp.l      D0, D1
  6323. 00003F14  6DDC                     blt        -0x22 /* 00003EF2 */
  6324. 00003F16  261F                     move.l     D3, [A7]+
  6325. 00003F18  4E75                     rts
  6326. 00003F1A  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  6327. 00003F1E  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  6328. 00003F22  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  6329. 00003F26  3F3C 0003                move.w     -[A7], 0x3
  6330. 00003F2A  486F 000A                pea.l      [A7 + 0xA]
  6331. 00003F2E  486F 000A                pea.l      [A7 + 0xA]
  6332. 00003F32  486F 0026                pea.l      [A7 + 0x26]
  6333. 00003F36  A98D                     syscall    GetDialogItem/GetDItem
  6334. 00003F38  486F 0006                pea.l      [A7 + 0x6]
  6335. 00003F3C  A898                     syscall    GetPenState
  6336. 00003F3E  594F                     subq.w     A7, 4
  6337. 00003F40  A8D8                     syscall    NewRgn
  6338. 00003F42  205F                     movea.l    A0, [A7]+
  6339. 00003F44  2448                     movea.l    A2, A0
  6340. 00003F46  200A                     move.l     D0, A2
  6341. 00003F48  4A80                     tst.l      D0
  6342. 00003F4A  670A                     beq        +0xC /* 00003F56 */
  6343. 00003F4C  2F0A                     move.l     -[A7], A2
  6344. 00003F4E  A87A                     syscall    GetClip
  6345. 00003F50  486F 0018                pea.l      [A7 + 0x18]
  6346. 00003F54  A87B                     syscall    ClipRect
  6347. label00003F56:
  6348. 00003F56  3F2D EE86                move.w     -[A7], [A5 - 0x117A]
  6349. 00003F5A  A887                     syscall    TextFont
  6350. 00003F5C  3F2D EE82                move.w     -[A7], [A5 - 0x117E]
  6351. 00003F60  A88A                     syscall    TextSize
  6352. 00003F62  7000                     moveq.l    D0, 0x00
  6353. 00003F64  102D EE84                move.b     D0, [A5 - 0x117C]
  6354. 00003F68  3F00                     move.w     -[A7], D0
  6355. 00003F6A  A888                     syscall    TextFace
  6356. 00003F6C  362D EE88                move.w     D3, [A5 - 0x1178]
  6357. 00003F70  48C3                     ext.l      D3
  6358. 00003F72  3A2D EE8E                move.w     D5, [A5 - 0x1172]
  6359. 00003F76  48C5                     ext.l      D5
  6360. 00003F78  2005                     move.l     D0, D5
  6361. 00003F7A  D083                     add.l      D0, D3
  6362. 00003F7C  3C2D EE8A                move.w     D6, [A5 - 0x1176]
  6363. 00003F80  48C6                     ext.l      D6
  6364. 00003F82  DC80                     add.l      D6, D0
  6365. 00003F84  382F 0018                move.w     D4, [A7 + 0x18]
  6366. 00003F88  48C4                     ext.l      D4
  6367. 00003F8A  D885                     add.l      D4, D5
  6368. 00003F8C  D883                     add.l      D4, D3
  6369. 00003F8E  3A2F 001A                move.w     D5, [A7 + 0x1A]
  6370. 00003F92  48C5                     ext.l      D5
  6371. 00003F94  5C85                     addq.l     D5, 6
  6372. 00003F96  7600                     moveq.l    D3, 0x00
  6373. 00003F98  6038                     bra        +0x3A /* 00003FD2 */
  6374. label00003F9A:
  6375. 00003F9A  3043                     movea.w    A0, D3
  6376. 00003F9C  2008                     move.l     D0, A0
  6377. 00003F9E  E588                     lsl        D0, 2
  6378. 00003FA0  41ED EFB0                lea.l      A0, [A5 - 0x1050]
  6379. 00003FA4  2670 0800                movea.l    A3, [A0 + D0]
  6380. 00003FA8  200B                     move.l     D0, A3
  6381. 00003FAA  4A80                     tst.l      D0
  6382. 00003FAC  672A                     beq        +0x2C /* 00003FD8 */
  6383. 00003FAE  3F05                     move.w     -[A7], D5
  6384. 00003FB0  3F04                     move.w     -[A7], D4
  6385. 00003FB2  A893                     syscall    MoveTo
  6386. 00003FB4  204B                     movea.l    A0, A3
  6387. 00003FB6  A029                     syscall    HLock
  6388. 00003FB8  2F13                     move.l     -[A7], [A3]
  6389. 00003FBA  4267                     clr.w      -[A7]
  6390. 00003FBC  594F                     subq.w     A7, 4
  6391. 00003FBE  2F0B                     move.l     -[A7], A3
  6392. 00003FC0  4EAD FEB8                jsr        [A5 - 0x148]
  6393. 00003FC4  201F                     move.l     D0, [A7]+
  6394. 00003FC6  3F00                     move.w     -[A7], D0
  6395. 00003FC8  A885                     syscall    DrawText
  6396. 00003FCA  204B                     movea.l    A0, A3
  6397. 00003FCC  A02A                     syscall    HUnlock
  6398. 00003FCE  D846                     add.w      D4, D6
  6399. 00003FD0  5243                     addq.w     D3, 1
  6400. label00003FD2:
  6401. 00003FD2  0C43 000B                cmpi.w     D3, 0xB
  6402. 00003FD6  6DC2                     blt        -0x3C /* 00003F9A */
  6403. label00003FD8:
  6404. 00003FD8  200A                     move.l     D0, A2
  6405. 00003FDA  4A80                     tst.l      D0
  6406. 00003FDC  6708                     beq        +0xA /* 00003FE6 */
  6407. 00003FDE  2F0A                     move.l     -[A7], A2
  6408. 00003FE0  A879                     syscall    SetClip
  6409. 00003FE2  2F0A                     move.l     -[A7], A2
  6410. 00003FE4  A8D9                     syscall    DisposRgn/DisposeRgn
  6411. label00003FE6:
  6412. 00003FE6  4267                     clr.w      -[A7]
  6413. 00003FE8  A887                     syscall    TextFont
  6414. 00003FEA  4267                     clr.w      -[A7]
  6415. 00003FEC  A88A                     syscall    TextSize
  6416. 00003FEE  4267                     clr.w      -[A7]
  6417. 00003FF0  A888                     syscall    TextFace
  6418. 00003FF2  486F 0006                pea.l      [A7 + 0x6]
  6419. 00003FF6  A899                     syscall    SetPenState
  6420. 00003FF8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6421. 00003FFC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  6422. 00004000  205F                     movea.l    A0, [A7]+
  6423. 00004002  5C4F                     addq.w     A7, 6
  6424. 00004004  4ED0                     jmp        [A0]
  6425. fn00004006:
  6426. 00004006  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  6427. 0000400A  262F 0020                move.l     D3, [A7 + 0x20]
  6428. 0000400E  266F 0024                movea.l    A3, [A7 + 0x24]
  6429. 00004012  2A03                     move.l     D5, D3
  6430. 00004014  0285 FF00 0000           andi.l     D5, 0xFF000000
  6431. 0000401A  7218                     moveq.l    D1, 0x18
  6432. 0000401C  E2AD                     lsr        D5, D1
  6433. 0000401E  2E03                     move.l     D7, D3
  6434. 00004020  0287 00FF 0000           andi.l     D7, 0xFF0000
  6435. 00004026  7210                     moveq.l    D1, 0x10
  6436. 00004028  E2AF                     lsr        D7, D1
  6437. 0000402A  2C03                     move.l     D6, D3
  6438. 0000402C  0286 0000 FF00           andi.l     D6, 0xFF00
  6439. 00004032  E08E                     lsr        D6, 8
  6440. 00004034  2803                     move.l     D4, D3
  6441. 00004036  0284 0000 00FF           andi.l     D4, 0xFF
  6442. 0000403C  594F                     subq.w     A7, 4
  6443. 0000403E  2F0B                     move.l     -[A7], A3
  6444. 00004040  4EAD FF68                jsr        [A5 - 0x98]
  6445. 00004044  205F                     movea.l    A0, [A7]+
  6446. 00004046  2648                     movea.l    A3, A0
  6447. 00004048  244B                     movea.l    A2, A3
  6448. 0000404A  528A                     addq.l     A2, 1
  6449. 0000404C  4A05                     tst.b      D5
  6450. 0000404E  670A                     beq        +0xC /* 0000405A */
  6451. 00004050  7000                     moveq.l    D0, 0x00
  6452. 00004052  1005                     move.b     D0, D5
  6453. 00004054  7230                     moveq.l    D1, 0x30
  6454. 00004056  D081                     add.l      D0, D1
  6455. 00004058  14C0                     move.b     [A2]+, D0
  6456. label0000405A:
  6457. 0000405A  7000                     moveq.l    D0, 0x00
  6458. 0000405C  1007                     move.b     D0, D7
  6459. 0000405E  7230                     moveq.l    D1, 0x30
  6460. 00004060  D081                     add.l      D0, D1
  6461. 00004062  14C0                     move.b     [A2]+, D0
  6462. 00004064  14FC 002E                move.b     [A2]+, 0x2E /* '.' */
  6463. 00004068  7000                     moveq.l    D0, 0x00
  6464. 0000406A  1006                     move.b     D0, D6
  6465. 0000406C  720A                     moveq.l    D1, 0x0A
  6466. 0000406E  4EAD FB84                jsr        [A5 - 0x47C]
  6467. 00004072  1600                     move.b     D3, D0
  6468. 00004074  7000                     moveq.l    D0, 0x00
  6469. 00004076  1006                     move.b     D0, D6
  6470. 00004078  720A                     moveq.l    D1, 0x0A
  6471. 0000407A  4EAD FB8A                jsr        [A5 - 0x476]
  6472. 0000407E  1A00                     move.b     D5, D0
  6473. 00004080  4A03                     tst.b      D3
  6474. 00004082  670A                     beq        +0xC /* 0000408E */
  6475. 00004084  7000                     moveq.l    D0, 0x00
  6476. 00004086  1003                     move.b     D0, D3
  6477. 00004088  7230                     moveq.l    D1, 0x30
  6478. 0000408A  D081                     add.l      D0, D1
  6479. 0000408C  14C0                     move.b     [A2]+, D0
  6480. label0000408E:
  6481. 0000408E  7000                     moveq.l    D0, 0x00
  6482. 00004090  1005                     move.b     D0, D5
  6483. 00004092  7230                     moveq.l    D1, 0x30
  6484. 00004094  D081                     add.l      D0, D1
  6485. 00004096  14C0                     move.b     [A2]+, D0
  6486. 00004098  4A04                     tst.b      D4
  6487. 0000409A  6734                     beq        +0x36 /* 000040D0 */
  6488. 0000409C  14FC 002E                move.b     [A2]+, 0x2E /* '.' */
  6489. 000040A0  7000                     moveq.l    D0, 0x00
  6490. 000040A2  1004                     move.b     D0, D4
  6491. 000040A4  720A                     moveq.l    D1, 0x0A
  6492. 000040A6  4EAD FB84                jsr        [A5 - 0x47C]
  6493. 000040AA  1600                     move.b     D3, D0
  6494. 000040AC  7000                     moveq.l    D0, 0x00
  6495. 000040AE  1004                     move.b     D0, D4
  6496. 000040B0  720A                     moveq.l    D1, 0x0A
  6497. 000040B2  4EAD FB8A                jsr        [A5 - 0x476]
  6498. 000040B6  1A00                     move.b     D5, D0
  6499. 000040B8  4A03                     tst.b      D3
  6500. 000040BA  670A                     beq        +0xC /* 000040C6 */
  6501. 000040BC  7000                     moveq.l    D0, 0x00
  6502. 000040BE  1003                     move.b     D0, D3
  6503. 000040C0  7230                     moveq.l    D1, 0x30
  6504. 000040C2  D081                     add.l      D0, D1
  6505. 000040C4  14C0                     move.b     [A2]+, D0
  6506. label000040C6:
  6507. 000040C6  7000                     moveq.l    D0, 0x00
  6508. 000040C8  1005                     move.b     D0, D5
  6509. 000040CA  7230                     moveq.l    D1, 0x30
  6510. 000040CC  D081                     add.l      D0, D1
  6511. 000040CE  14C0                     move.b     [A2]+, D0
  6512. label000040D0:
  6513. 000040D0  204A                     movea.l    A0, A2
  6514. 000040D2  91CB                     sub.l      A0, A3
  6515. 000040D4  5388                     subq.l     A0, 1
  6516. 000040D6  2008                     move.l     D0, A0
  6517. 000040D8  1680                     move.b     [A3], D0
  6518. 000040DA  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  6519. 000040DE  4E75                     rts
  6520. fn000040E0:
  6521. 000040E0  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  6522. 000040E4  362F 0014                move.w     D3, [A7 + 0x14]
  6523. 000040E8  266F 0016                movea.l    A3, [A7 + 0x16]
  6524. 000040EC  486D F0E0                pea.l      [A5 - 0xF20]
  6525. 000040F0  3F3C 7D02                move.w     -[A7], 0x7D02
  6526. 000040F4  3003                     move.w     D0, D3
  6527. 000040F6  48C0                     ext.l      D0
  6528. 000040F8  5280                     addq.l     D0, 1
  6529. 000040FA  3F00                     move.w     -[A7], D0
  6530. 000040FC  4EAD FF80                jsr        [A5 - 0x80]
  6531. 00004100  7000                     moveq.l    D0, 0x00
  6532. 00004102  102D F0E0                move.b     D0, [A5 - 0xF20]
  6533. 00004106  A122                     syscall    NewHandle, flags=1
  6534. 00004108  2448                     movea.l    A2, A0
  6535. 0000410A  200A                     move.l     D0, A2
  6536. 0000410C  4A80                     tst.l      D0
  6537. 0000410E  6700 0222                beq        +0x224 /* 00004332 */
  6538. 00004112  41ED F0E1                lea.l      A0, [A5 - 0xF1F]
  6539. 00004116  2252                     movea.l    A1, [A2]
  6540. 00004118  7000                     moveq.l    D0, 0x00
  6541. 0000411A  102D F0E0                move.b     D0, [A5 - 0xF20]
  6542. 0000411E  A02E                     syscall    BlockMove/BlockMoveData
  6543. 00004120  3003                     move.w     D0, D3
  6544. 00004122  48C0                     ext.l      D0
  6545. 00004124  0C80 0000 0005           cmpi.l     D0, 0x5
  6546. 0000412A  6200 0206                bhi        +0x208 /* 00004332 */
  6547. 0000412E  D040                     add.w      D0, D0
  6548. 00004130  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6549. 00004134  4EFB 0002                jmp        [PC + D0.w + 0x2]
  6550. 00004138  000C 006A                ori.b      A4, 0x6A /* 'j' */
  6551. 0000413C  00C8                     ori.?      A0, 0xFFFFFFFFFFFFFFFF
  6552. 0000413E  00C8                     ori.?      A0, 0xFFFFFFFFFFFFFFFF
  6553. 00004140  00C8                     ori.?      A0, 0xFFFFFFFFFFFFFFFF
  6554. 00004142  017A 486D                bchg       [PC + 0x486D /* 000089B1 */], D0
  6555. 00004146  F0E0                     .extension 0x0E0 // unimplemented
  6556. 00004148  2F2B 005E                move.l     -[A7], [A3 + 0x5E]
  6557. 0000414C  4EBA FEB8                jsr        [PC - 0x148 /* 00004006 */]
  6558. 00004150  2F0A                     move.l     -[A7], A2
  6559. 00004152  42A7                     clr.l      -[A7]
  6560. 00004154  486D EED1                pea.l      [A5 - 0x112F]
  6561. 00004158  7000                     moveq.l    D0, 0x00
  6562. 0000415A  102D EED0                move.b     D0, [A5 - 0x1130]
  6563. 0000415E  2F00                     move.l     -[A7], D0
  6564. 00004160  486D F0E1                pea.l      [A5 - 0xF1F]
  6565. 00004164  7000                     moveq.l    D0, 0x00
  6566. 00004166  102D F0E0                move.b     D0, [A5 - 0xF20]
  6567. 0000416A  2F00                     move.l     -[A7], D0
  6568. 0000416C  A9E0                     syscall    Munger
  6569. 0000416E  201F                     move.l     D0, [A7]+
  6570. 00004170  486D F0E0                pea.l      [A5 - 0xF20]
  6571. 00004174  2F2D F3FE                move.l     -[A7], [A5 - 0xC02]
  6572. 00004178  4EBA FE8C                jsr        [PC - 0x174 /* 00004006 */]
  6573. 0000417C  2F0A                     move.l     -[A7], A2
  6574. 0000417E  42A7                     clr.l      -[A7]
  6575. 00004180  486D EF11                pea.l      [A5 - 0x10EF]
  6576. 00004184  7000                     moveq.l    D0, 0x00
  6577. 00004186  102D EF10                move.b     D0, [A5 - 0x10F0]
  6578. 0000418A  2F00                     move.l     -[A7], D0
  6579. 0000418C  486D F0E1                pea.l      [A5 - 0xF1F]
  6580. 00004190  7000                     moveq.l    D0, 0x00
  6581. 00004192  102D F0E0                move.b     D0, [A5 - 0xF20]
  6582. 00004196  2F00                     move.l     -[A7], D0
  6583. 00004198  A9E0                     syscall    Munger
  6584. 0000419A  201F                     move.l     D0, [A7]+
  6585. 0000419C  504F                     addq.w     A7, 8
  6586. 0000419E  6000 0192                bra        +0x194 /* 00004332 */
  6587. 000041A2  486D F0E0                pea.l      [A5 - 0xF20]
  6588. 000041A6  2F2B 0062                move.l     -[A7], [A3 + 0x62]
  6589. 000041AA  4EBA FE5A                jsr        [PC - 0x1A6 /* 00004006 */]
  6590. 000041AE  2F0A                     move.l     -[A7], A2
  6591. 000041B0  42A7                     clr.l      -[A7]
  6592. 000041B2  486D EEF1                pea.l      [A5 - 0x110F]
  6593. 000041B6  7000                     moveq.l    D0, 0x00
  6594. 000041B8  102D EEF0                move.b     D0, [A5 - 0x1110]
  6595. 000041BC  2F00                     move.l     -[A7], D0
  6596. 000041BE  486D F0E1                pea.l      [A5 - 0xF1F]
  6597. 000041C2  7000                     moveq.l    D0, 0x00
  6598. 000041C4  102D F0E0                move.b     D0, [A5 - 0xF20]
  6599. 000041C8  2F00                     move.l     -[A7], D0
  6600. 000041CA  A9E0                     syscall    Munger
  6601. 000041CC  201F                     move.l     D0, [A7]+
  6602. 000041CE  486D F0E0                pea.l      [A5 - 0xF20]
  6603. 000041D2  2F2D F3FE                move.l     -[A7], [A5 - 0xC02]
  6604. 000041D6  4EBA FE2E                jsr        [PC - 0x1D2 /* 00004006 */]
  6605. 000041DA  2F0A                     move.l     -[A7], A2
  6606. 000041DC  42A7                     clr.l      -[A7]
  6607. 000041DE  486D EF11                pea.l      [A5 - 0x10EF]
  6608. 000041E2  7000                     moveq.l    D0, 0x00
  6609. 000041E4  102D EF10                move.b     D0, [A5 - 0x10F0]
  6610. 000041E8  2F00                     move.l     -[A7], D0
  6611. 000041EA  486D F0E1                pea.l      [A5 - 0xF1F]
  6612. 000041EE  7000                     moveq.l    D0, 0x00
  6613. 000041F0  102D F0E0                move.b     D0, [A5 - 0xF20]
  6614. 000041F4  2F00                     move.l     -[A7], D0
  6615. 000041F6  A9E0                     syscall    Munger
  6616. 000041F8  201F                     move.l     D0, [A7]+
  6617. 000041FA  504F                     addq.w     A7, 8
  6618. 000041FC  6000 0134                bra        +0x136 /* 00004332 */
  6619. 00004200  7001                     moveq.l    D0, 0x01
  6620. 00004202  B0AD F404                cmp.l      D0, [A5 - 0xBFC]
  6621. 00004206  6E0A                     bgt        +0xC /* 00004212 */
  6622. 00004208  0CAD 0000 00FF F404      cmpi.l     [A5 - 0xBFC], 0xFF
  6623. 00004210  6F04                     ble        +0x6 /* 00004216 */
  6624. label00004212:
  6625. 00004212  7002                     moveq.l    D0, 0x02
  6626. 00004214  6002                     bra        +0x4 /* 00004218 */
  6627. label00004216:
  6628. 00004216  7001                     moveq.l    D0, 0x01
  6629. label00004218:
  6630. 00004218  3600                     move.w     D3, D0
  6631. 0000421A  0C43 0001                cmpi.w     D3, 0x1
  6632. 0000421E  6618                     bne        +0x1A /* 00004238 */
  6633. 00004220  4AAB 004E                tst.l      [A3 + 0x4E]
  6634. 00004224  6608                     bne        +0xA /* 0000422E */
  6635. 00004226  70FF                     moveq.l    D0, 0xFFFFFFFF
  6636. 00004228  B0AB 0052                cmp.l      D0, [A3 + 0x52]
  6637. 0000422C  6704                     beq        +0x6 /* 00004232 */
  6638. label0000422E:
  6639. 0000422E  7001                     moveq.l    D0, 0x01
  6640. 00004230  6002                     bra        +0x4 /* 00004234 */
  6641. label00004232:
  6642. 00004232  7002                     moveq.l    D0, 0x02
  6643. label00004234:
  6644. 00004234  3800                     move.w     D4, D0
  6645. 00004236  6016                     bra        +0x18 /* 0000424E */
  6646. label00004238:
  6647. 00004238  4AAB 0056                tst.l      [A3 + 0x56]
  6648. 0000423C  6608                     bne        +0xA /* 00004246 */
  6649. 0000423E  70FF                     moveq.l    D0, 0xFFFFFFFF
  6650. 00004240  B0AB 005A                cmp.l      D0, [A3 + 0x5A]
  6651. 00004244  6704                     beq        +0x6 /* 0000424A */
  6652. label00004246:
  6653. 00004246  7002                     moveq.l    D0, 0x02
  6654. 00004248  6002                     bra        +0x4 /* 0000424C */
  6655. label0000424A:
  6656. 0000424A  7001                     moveq.l    D0, 0x01
  6657. label0000424C:
  6658. 0000424C  3800                     move.w     D4, D0
  6659. label0000424E:
  6660. 0000424E  486D F0E0                pea.l      [A5 - 0xF20]
  6661. 00004252  3F3C 7D03                move.w     -[A7], 0x7D03
  6662. 00004256  3F04                     move.w     -[A7], D4
  6663. 00004258  4EAD FF80                jsr        [A5 - 0x80]
  6664. 0000425C  594F                     subq.w     A7, 4
  6665. 0000425E  2F0A                     move.l     -[A7], A2
  6666. 00004260  42A7                     clr.l      -[A7]
  6667. 00004262  486D EF31                pea.l      [A5 - 0x10CF]
  6668. 00004266  7000                     moveq.l    D0, 0x00
  6669. 00004268  102D EF30                move.b     D0, [A5 - 0x10D0]
  6670. 0000426C  2F00                     move.l     -[A7], D0
  6671. 0000426E  486D F0E1                pea.l      [A5 - 0xF1F]
  6672. 00004272  7000                     moveq.l    D0, 0x00
  6673. 00004274  102D F0E0                move.b     D0, [A5 - 0xF20]
  6674. 00004278  2F00                     move.l     -[A7], D0
  6675. 0000427A  A9E0                     syscall    Munger
  6676. 0000427C  201F                     move.l     D0, [A7]+
  6677. 0000427E  486D F0E0                pea.l      [A5 - 0xF20]
  6678. 00004282  3F3C 7D03                move.w     -[A7], 0x7D03
  6679. 00004286  3F03                     move.w     -[A7], D3
  6680. 00004288  4EAD FF80                jsr        [A5 - 0x80]
  6681. 0000428C  594F                     subq.w     A7, 4
  6682. 0000428E  2F0A                     move.l     -[A7], A2
  6683. 00004290  42A7                     clr.l      -[A7]
  6684. 00004292  486D EF51                pea.l      [A5 - 0x10AF]
  6685. 00004296  7000                     moveq.l    D0, 0x00
  6686. 00004298  102D EF50                move.b     D0, [A5 - 0x10B0]
  6687. 0000429C  2F00                     move.l     -[A7], D0
  6688. 0000429E  486D F0E1                pea.l      [A5 - 0xF1F]
  6689. 000042A2  7000                     moveq.l    D0, 0x00
  6690. 000042A4  102D F0E0                move.b     D0, [A5 - 0xF20]
  6691. 000042A8  2F00                     move.l     -[A7], D0
  6692. 000042AA  A9E0                     syscall    Munger
  6693. 000042AC  201F                     move.l     D0, [A7]+
  6694. 000042AE  6000 0082                bra        +0x84 /* 00004332 */
  6695. 000042B2  202B 0066                move.l     D0, [A3 + 0x66]
  6696. 000042B6  223C 0000 0400           move.l     D1, 0x400
  6697. 000042BC  4EAD FB84                jsr        [A5 - 0x47C]
  6698. 000042C0  2F00                     move.l     -[A7], D0
  6699. 000042C2  486D F0E0                pea.l      [A5 - 0xF20]
  6700. 000042C6  4EAD FF60                jsr        [A5 - 0xA0]
  6701. 000042CA  486D F0E0                pea.l      [A5 - 0xF20]
  6702. 000042CE  4EAD FBD8                jsr        [A5 - 0x428]
  6703. 000042D2  2F0A                     move.l     -[A7], A2
  6704. 000042D4  42A7                     clr.l      -[A7]
  6705. 000042D6  486D EF71                pea.l      [A5 - 0x108F]
  6706. 000042DA  7000                     moveq.l    D0, 0x00
  6707. 000042DC  102D EF70                move.b     D0, [A5 - 0x1090]
  6708. 000042E0  2F00                     move.l     -[A7], D0
  6709. 000042E2  486D F0E1                pea.l      [A5 - 0xF1F]
  6710. 000042E6  7000                     moveq.l    D0, 0x00
  6711. 000042E8  102D F0E0                move.b     D0, [A5 - 0xF20]
  6712. 000042EC  2F00                     move.l     -[A7], D0
  6713. 000042EE  A9E0                     syscall    Munger
  6714. 000042F0  201F                     move.l     D0, [A7]+
  6715. 000042F2  202D F3FA                move.l     D0, [A5 - 0xC06]
  6716. 000042F6  223C 0000 0400           move.l     D1, 0x400
  6717. 000042FC  4EAD FB84                jsr        [A5 - 0x47C]
  6718. 00004300  2F00                     move.l     -[A7], D0
  6719. 00004302  486D F0E0                pea.l      [A5 - 0xF20]
  6720. 00004306  4EAD FF60                jsr        [A5 - 0xA0]
  6721. 0000430A  486D F0E0                pea.l      [A5 - 0xF20]
  6722. 0000430E  4EAD FBD8                jsr        [A5 - 0x428]
  6723. 00004312  2F0A                     move.l     -[A7], A2
  6724. 00004314  42A7                     clr.l      -[A7]
  6725. 00004316  486D EF91                pea.l      [A5 - 0x106F]
  6726. 0000431A  7000                     moveq.l    D0, 0x00
  6727. 0000431C  102D EF90                move.b     D0, [A5 - 0x1070]
  6728. 00004320  2F00                     move.l     -[A7], D0
  6729. 00004322  486D F0E1                pea.l      [A5 - 0xF1F]
  6730. 00004326  7000                     moveq.l    D0, 0x00
  6731. 00004328  102D F0E0                move.b     D0, [A5 - 0xF20]
  6732. 0000432C  2F00                     move.l     -[A7], D0
  6733. 0000432E  A9E0                     syscall    Munger
  6734. 00004330  201F                     move.l     D0, [A7]+
  6735. label00004332:
  6736. 00004332  204A                     movea.l    A0, A2
  6737. 00004334  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  6738. 00004338  4E75                     rts
  6739. fn0000433A:
  6740. 0000433A  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  6741. 0000433E  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  6742. 00004342  286F 0038                movea.l    A4, [A7 + 0x38]
  6743. 00004346  95CA                     sub.l      A2, A2
  6744. 00004348  97CB                     sub.l      A3, A3
  6745. 0000434A  3F3C 0004                move.w     -[A7], 0x4
  6746. 0000434E  4EAD FBA0                jsr        [A5 - 0x460]
  6747. 00004352  4A00                     tst.b      D0
  6748. 00004354  544F                     addq.w     A7, 2
  6749. 00004356  6700 01DC                beq        +0x1DE /* 00004534 */
  6750. 0000435A  47ED FD70                lea.l      A3, [A5 - 0x290]
  6751. 0000435E  200B                     move.l     D0, A3
  6752. 00004360  4A80                     tst.l      D0
  6753. 00004362  670E                     beq        +0x10 /* 00004372 */
  6754. 00004364  2F3C 7D02 000B           move.l     -[A7], 0x7D02000B
  6755. 0000436A  4EAD FE98                jsr        [A5 - 0x168]
  6756. 0000436E  2448                     movea.l    A2, A0
  6757. 00004370  584F                     addq.w     A7, 4
  6758. label00004372:
  6759. 00004372  200A                     move.l     D0, A2
  6760. 00004374  4A80                     tst.l      D0
  6761. 00004376  6700 01BC                beq        +0x1BE /* 00004534 */
  6762. 0000437A  486D EE82                pea.l      [A5 - 0x117E]
  6763. 0000437E  3F3C 7D01                move.w     -[A7], 0x7D01
  6764. 00004382  4EAD FBF0                jsr        [A5 - 0x410]
  6765. 00004386  3A2D EE88                move.w     D5, [A5 - 0x1178]
  6766. 0000438A  48C5                     ext.l      D5
  6767. 0000438C  322D EE8E                move.w     D1, [A5 - 0x1172]
  6768. 00004390  48C1                     ext.l      D1
  6769. 00004392  D285                     add.l      D1, D5
  6770. 00004394  3A2D EE8A                move.w     D5, [A5 - 0x1176]
  6771. 00004398  48C5                     ext.l      D5
  6772. 0000439A  DA81                     add.l      D5, D1
  6773. 0000439C  2F0A                     move.l     -[A7], A2
  6774. 0000439E  3F3C 0002                move.w     -[A7], 0x2
  6775. 000043A2  486F 0016                pea.l      [A7 + 0x16]
  6776. 000043A6  486F 0016                pea.l      [A7 + 0x16]
  6777. 000043AA  486F 0020                pea.l      [A7 + 0x20]
  6778. 000043AE  A98D                     syscall    GetDialogItem/GetDItem
  6779. 000043B0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6780. 000043B4  42A7                     clr.l      -[A7]
  6781. 000043B6  486D FA2B                pea.l      [A5 - 0x5D5]
  6782. 000043BA  4878 0002                push.l     0x2
  6783. 000043BE  486C 0001                pea.l      [A4 + 0x1]
  6784. 000043C2  7000                     moveq.l    D0, 0x00
  6785. 000043C4  1014                     move.b     D0, [A4]
  6786. 000043C6  2F00                     move.l     -[A7], D0
  6787. 000043C8  A9E0                     syscall    Munger
  6788. 000043CA  201F                     move.l     D0, [A7]+
  6789. 000043CC  2F0A                     move.l     -[A7], A2
  6790. 000043CE  3F3C 0003                move.w     -[A7], 0x3
  6791. 000043D2  486F 0012                pea.l      [A7 + 0x12]
  6792. 000043D6  486F 0012                pea.l      [A7 + 0x12]
  6793. 000043DA  486F 001C                pea.l      [A7 + 0x1C]
  6794. 000043DE  A98D                     syscall    GetDialogItem/GetDItem
  6795. 000043E0  7800                     moveq.l    D4, 0x00
  6796. 000043E2  3604                     move.w     D3, D4
  6797. 000043E4  544F                     addq.w     A7, 2
  6798. 000043E6  6030                     bra        +0x32 /* 00004418 */
  6799. label000043E8:
  6800. 000043E8  3003                     move.w     D0, D3
  6801. 000043EA  48C0                     ext.l      D0
  6802. 000043EC  7201                     moveq.l    D1, 0x01
  6803. 000043EE  E1A9                     lsl        D1, D0
  6804. 000043F0  7000                     moveq.l    D0, 0x00
  6805. 000043F2  302F 003C                move.w     D0, [A7 + 0x3C]
  6806. 000043F6  C081                     and.l      D0, D1
  6807. 000043F8  671C                     beq        +0x1E /* 00004416 */
  6808. 000043FA  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  6809. 000043FE  3F03                     move.w     -[A7], D3
  6810. 00004400  4EBA FCDE                jsr        [PC - 0x322 /* 000040E0 */]
  6811. 00004404  3004                     move.w     D0, D4
  6812. 00004406  5244                     addq.w     D4, 1
  6813. 00004408  48C0                     ext.l      D0
  6814. 0000440A  E588                     lsl        D0, 2
  6815. 0000440C  43ED EFB0                lea.l      A1, [A5 - 0x1050]
  6816. 00004410  2388 0800                move.l     [A1 + D0], A0
  6817. 00004414  5C4F                     addq.w     A7, 6
  6818. label00004416:
  6819. 00004416  5243                     addq.w     D3, 1
  6820. label00004418:
  6821. 00004418  0C43 000B                cmpi.w     D3, 0xB
  6822. 0000441C  6DCA                     blt        -0x34 /* 000043E8 */
  6823. 0000441E  3004                     move.w     D0, D4
  6824. 00004420  C1C5                     muls.w     D0, D5
  6825. 00004422  322F 000C                move.w     D1, [A7 + 0xC]
  6826. 00004426  48C1                     ext.l      D1
  6827. 00004428  D280                     add.l      D1, D0
  6828. 0000442A  3F41 0010                move.w     [A7 + 0x10], D1
  6829. 0000442E  2F0A                     move.l     -[A7], A2
  6830. 00004430  3F3C 0003                move.w     -[A7], 0x3
  6831. 00004434  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6832. 00004438  2F0B                     move.l     -[A7], A3
  6833. 0000443A  486F 0018                pea.l      [A7 + 0x18]
  6834. 0000443E  A98E                     syscall    SetDialogItem/SetDItem
  6835. 00004440  2F0A                     move.l     -[A7], A2
  6836. 00004442  3F3C 0001                move.w     -[A7], 0x1
  6837. 00004446  486F 0010                pea.l      [A7 + 0x10]
  6838. 0000444A  486F 000C                pea.l      [A7 + 0xC]
  6839. 0000444E  486F 001A                pea.l      [A7 + 0x1A]
  6840. 00004452  A98D                     syscall    GetDialogItem/GetDItem
  6841. 00004454  486F 000C                pea.l      [A7 + 0xC]
  6842. 00004458  4267                     clr.w      -[A7]
  6843. 0000445A  3004                     move.w     D0, D4
  6844. 0000445C  C1C5                     muls.w     D0, D5
  6845. 0000445E  3F00                     move.w     -[A7], D0
  6846. 00004460  A8A8                     syscall    OffsetRect
  6847. 00004462  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  6848. 00004466  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  6849. 0000446A  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  6850. 0000446E  A959                     syscall    MoveControl
  6851. 00004470  2F0A                     move.l     -[A7], A2
  6852. 00004472  3F3C 0001                move.w     -[A7], 0x1
  6853. 00004476  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  6854. 0000447A  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  6855. 0000447E  486F 0018                pea.l      [A7 + 0x18]
  6856. 00004482  A98E                     syscall    SetDialogItem/SetDItem
  6857. 00004484  302A 0012                move.w     D0, [A2 + 0x12]
  6858. 00004488  48C0                     ext.l      D0
  6859. 0000448A  3C2A 0016                move.w     D6, [A2 + 0x16]
  6860. 0000448E  48C6                     ext.l      D6
  6861. 00004490  9C80                     sub.l      D6, D0
  6862. 00004492  302A 0010                move.w     D0, [A2 + 0x10]
  6863. 00004496  48C0                     ext.l      D0
  6864. 00004498  362A 0014                move.w     D3, [A2 + 0x14]
  6865. 0000449C  48C3                     ext.l      D3
  6866. 0000449E  9680                     sub.l      D3, D0
  6867. 000044A0  3004                     move.w     D0, D4
  6868. 000044A2  C1C5                     muls.w     D0, D5
  6869. 000044A4  D640                     add.w      D3, D0
  6870. 000044A6  2F0A                     move.l     -[A7], A2
  6871. 000044A8  3F06                     move.w     -[A7], D6
  6872. 000044AA  3F03                     move.w     -[A7], D3
  6873. 000044AC  4227                     clr.b      -[A7]
  6874. 000044AE  A91D                     syscall    SizeWindow
  6875. 000044B0  3F3C 0005                move.w     -[A7], 0x5
  6876. 000044B4  A9C8                     syscall    SysBeep
  6877. 000044B6  2F0A                     move.l     -[A7], A2
  6878. 000044B8  A915                     syscall    ShowWindow
  6879. 000044BA  2F0A                     move.l     -[A7], A2
  6880. 000044BC  A922                     syscall    BeginUpdate
  6881. 000044BE  2F0A                     move.l     -[A7], A2
  6882. 000044C0  A981                     syscall    DrawDialog
  6883. 000044C2  3F3C 0001                move.w     -[A7], 0x1
  6884. 000044C6  2F0A                     move.l     -[A7], A2
  6885. 000044C8  4EAD FE90                jsr        [A5 - 0x170]
  6886. 000044CC  2F0A                     move.l     -[A7], A2
  6887. 000044CE  A923                     syscall    EndUpdate
  6888. 000044D0  1B7C 0001 E533           move.b     [A5 - 0x1ACD], 0x1
  6889. 000044D6  486D E4A8                pea.l      [A5 - 0x1B58]
  6890. 000044DA  A851                     syscall    SetCursor
  6891. 000044DC  7600                     moveq.l    D3, 0x00
  6892. 000044DE  5C4F                     addq.w     A7, 6
  6893. 000044E0  6010                     bra        +0x12 /* 000044F2 */
  6894. label000044E2:
  6895. 000044E2  42A7                     clr.l      -[A7]
  6896. 000044E4  486F 0004                pea.l      [A7 + 0x4]
  6897. 000044E8  A991                     syscall    ModalDialog
  6898. 000044EA  0C57 0001                cmpi.w     [A7], 0x1
  6899. 000044EE  6602                     bne        +0x4 /* 000044F2 */
  6900. 000044F0  7601                     moveq.l    D3, 0x01
  6901. label000044F2:
  6902. 000044F2  4A43                     tst.w      D3
  6903. 000044F4  67EC                     beq        -0x12 /* 000044E2 */
  6904. 000044F6  2F0A                     move.l     -[A7], A2
  6905. 000044F8  A983                     syscall    DisposeDialog
  6906. 000044FA  7600                     moveq.l    D3, 0x00
  6907. 000044FC  6030                     bra        +0x32 /* 0000452E */
  6908. label000044FE:
  6909. 000044FE  3043                     movea.w    A0, D3
  6910. 00004500  2008                     move.l     D0, A0
  6911. 00004502  E588                     lsl        D0, 2
  6912. 00004504  41ED EFB0                lea.l      A0, [A5 - 0x1050]
  6913. 00004508  4AB0 0800                tst.l      [A0 + D0]
  6914. 0000450C  671E                     beq        +0x20 /* 0000452C */
  6915. 0000450E  3043                     movea.w    A0, D3
  6916. 00004510  2008                     move.l     D0, A0
  6917. 00004512  E588                     lsl        D0, 2
  6918. 00004514  41ED EFB0                lea.l      A0, [A5 - 0x1050]
  6919. 00004518  2070 0800                movea.l    A0, [A0 + D0]
  6920. 0000451C  A023                     syscall    DisposHandle/DisposeHandle
  6921. 0000451E  3043                     movea.w    A0, D3
  6922. 00004520  2008                     move.l     D0, A0
  6923. 00004522  E588                     lsl        D0, 2
  6924. 00004524  41ED EFB0                lea.l      A0, [A5 - 0x1050]
  6925. 00004528  42B0 0800                clr.l      [A0 + D0]
  6926. label0000452C:
  6927. 0000452C  5243                     addq.w     D3, 1
  6928. label0000452E:
  6929. 0000452E  0C43 000B                cmpi.w     D3, 0xB
  6930. 00004532  6DCA                     blt        -0x34 /* 000044FE */
  6931. label00004534:
  6932. 00004534  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6933. 00004538  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  6934. 0000453C  4E75                     rts
  6935. fn0000453E:
  6936. 0000453E  2F05                     move.l     -[A7], D5
  6937. 00004540  206F 0008                movea.l    A0, [A7 + 0x8]
  6938. 00004544  7001                     moveq.l    D0, 0x01
  6939. 00004546  B0AD F404                cmp.l      D0, [A5 - 0xBFC]
  6940. 0000454A  6E16                     bgt        +0x18 /* 00004562 */
  6941. 0000454C  0CAD 0000 00FF F404      cmpi.l     [A5 - 0xBFC], 0xFF
  6942. 00004554  6E0C                     bgt        +0xE /* 00004562 */
  6943. 00004556  2A28 004E                move.l     D5, [A0 + 0x4E]
  6944. 0000455A  2228 0052                move.l     D1, [A0 + 0x52]
  6945. 0000455E  7400                     moveq.l    D2, 0x00
  6946. 00004560  6022                     bra        +0x24 /* 00004584 */
  6947. label00004562:
  6948. 00004562  0CAD 0000 0100 F404      cmpi.l     [A5 - 0xBFC], 0x100
  6949. 0000456A  6D16                     blt        +0x18 /* 00004582 */
  6950. 0000456C  0CAD 0000 01FF F404      cmpi.l     [A5 - 0xBFC], 0x1FF
  6951. 00004574  6E0C                     bgt        +0xE /* 00004582 */
  6952. 00004576  2A28 0056                move.l     D5, [A0 + 0x56]
  6953. 0000457A  2228 005A                move.l     D1, [A0 + 0x5A]
  6954. 0000457E  7400                     moveq.l    D2, 0x00
  6955. 00004580  6002                     bra        +0x4 /* 00004584 */
  6956. label00004582:
  6957. 00004582  7401                     moveq.l    D2, 0x01
  6958. label00004584:
  6959. 00004584  4A02                     tst.b      D2
  6960. 00004586  662A                     bne        +0x2C /* 000045B2 */
  6961. 00004588  4A85                     tst.l      D5
  6962. 0000458A  660A                     bne        +0xC /* 00004596 */
  6963. 0000458C  70FF                     moveq.l    D0, 0xFFFFFFFF
  6964. 0000458E  B280                     cmp.l      D1, D0
  6965. 00004590  6604                     bne        +0x6 /* 00004596 */
  6966. 00004592  7204                     moveq.l    D1, 0x04
  6967. 00004594  601E                     bra        +0x20 /* 000045B4 */
  6968. label00004596:
  6969. 00004596  BAAD F404                cmp.l      D5, [A5 - 0xBFC]
  6970. 0000459A  6F04                     ble        +0x6 /* 000045A0 */
  6971. 0000459C  7208                     moveq.l    D1, 0x08
  6972. 0000459E  6014                     bra        +0x16 /* 000045B4 */
  6973. label000045A0:
  6974. 000045A0  4A81                     tst.l      D1
  6975. 000045A2  670A                     beq        +0xC /* 000045AE */
  6976. 000045A4  B2AD F404                cmp.l      D1, [A5 - 0xBFC]
  6977. 000045A8  6C04                     bge        +0x6 /* 000045AE */
  6978. 000045AA  7210                     moveq.l    D1, 0x10
  6979. 000045AC  6006                     bra        +0x8 /* 000045B4 */
  6980. label000045AE:
  6981. 000045AE  7200                     moveq.l    D1, 0x00
  6982. 000045B0  6002                     bra        +0x4 /* 000045B4 */
  6983. label000045B2:
  6984. 000045B2  7200                     moveq.l    D1, 0x00
  6985. label000045B4:
  6986. 000045B4  3001                     move.w     D0, D1
  6987. 000045B6  2A1F                     move.l     D5, [A7]+
  6988. 000045B8  4E75                     rts
  6989. fn000045BA:
  6990. 000045BA  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  6991. 000045BE  266F 0014                movea.l    A3, [A7 + 0x14]
  6992. 000045C2  4A6D F3F2                tst.w      [A5 - 0xC0E]
  6993. 000045C6  6706                     beq        +0x8 /* 000045CE */
  6994. 000045C8  7000                     moveq.l    D0, 0x00
  6995. 000045CA  6000 0116                bra        +0x118 /* 000046E2 */
  6996. label000045CE:
  6997. 000045CE  2053                     movea.l    A0, [A3]
  6998. 000045D0  4A10                     tst.b      [A0]
  6999. 000045D2  6606                     bne        +0x8 /* 000045DA */
  7000. 000045D4  7000                     moveq.l    D0, 0x00
  7001. 000045D6  6000 010A                bra        +0x10C /* 000046E2 */
  7002. label000045DA:
  7003. 000045DA  4EBA F910                jsr        [PC - 0x6F0 /* 00003EEC */]
  7004. 000045DE  204B                     movea.l    A0, A3
  7005. 000045E0  A069                     syscall    HGetState
  7006. 000045E2  1800                     move.b     D4, D0
  7007. 000045E4  204B                     movea.l    A0, A3
  7008. 000045E6  A029                     syscall    HLock
  7009. 000045E8  2453                     movea.l    A2, [A3]
  7010. 000045EA  7600                     moveq.l    D3, 0x00
  7011. 000045EC  202A 005E                move.l     D0, [A2 + 0x5E]
  7012. 000045F0  B0AD F3FE                cmp.l      D0, [A5 - 0xC02]
  7013. 000045F4  6304                     bls        +0x6 /* 000045FA */
  7014. 000045F6  0043 0001                ori.w      D3, 0x1
  7015. label000045FA:
  7016. 000045FA  4AAA 0062                tst.l      [A2 + 0x62]
  7017. 000045FE  670E                     beq        +0x10 /* 0000460E */
  7018. 00004600  202A 0062                move.l     D0, [A2 + 0x62]
  7019. 00004604  B0AD F3FE                cmp.l      D0, [A5 - 0xC02]
  7020. 00004608  6404                     bcc        +0x6 /* 0000460E */
  7021. 0000460A  0043 0002                ori.w      D3, 0x2
  7022. label0000460E:
  7023. 0000460E  2F0A                     move.l     -[A7], A2
  7024. 00004610  4EBA FF2C                jsr        [PC - 0xD4 /* 0000453E */]
  7025. 00004614  8640                     or.w       D3, D0
  7026. 00004616  202A 0066                move.l     D0, [A2 + 0x66]
  7027. 0000461A  B0AD F3FA                cmp.l      D0, [A5 - 0xC06]
  7028. 0000461E  584F                     addq.w     A7, 4
  7029. 00004620  6F04                     ble        +0x6 /* 00004626 */
  7030. 00004622  0043 0020                ori.w      D3, 0x20 /* ' ' */
  7031. label00004626:
  7032. 00004626  0C6A FFFF 0046           cmpi.w     [A2 + 0x46], 0xFFFF
  7033. 0000462C  660A                     bne        +0xC /* 00004638 */
  7034. 0000462E  4A2D F3F9                tst.b      [A5 - 0xC07]
  7035. 00004632  6704                     beq        +0x6 /* 00004638 */
  7036. 00004634  0043 0040                ori.w      D3, 0x40 /* '@' */
  7037. label00004638:
  7038. 00004638  0C6A 0001 0046           cmpi.w     [A2 + 0x46], 0x1
  7039. 0000463E  660A                     bne        +0xC /* 0000464A */
  7040. 00004640  4A2D F3F9                tst.b      [A5 - 0xC07]
  7041. 00004644  6604                     bne        +0x6 /* 0000464A */
  7042. 00004646  0043 0080                ori.w      D3, 0x80
  7043. label0000464A:
  7044. 0000464A  4A2D F403                tst.b      [A5 - 0xBFD]
  7045. 0000464E  6726                     beq        +0x28 /* 00004676 */
  7046. 00004650  0C6A FFFF 004A           cmpi.w     [A2 + 0x4A], 0xFFFF
  7047. 00004656  660A                     bne        +0xC /* 00004662 */
  7048. 00004658  4A2D F3F8                tst.b      [A5 - 0xC08]
  7049. 0000465C  6704                     beq        +0x6 /* 00004662 */
  7050. 0000465E  0043 0100                ori.w      D3, 0x100
  7051. label00004662:
  7052. 00004662  0C6A 0001 004A           cmpi.w     [A2 + 0x4A], 0x1
  7053. 00004668  6630                     bne        +0x32 /* 0000469A */
  7054. 0000466A  4A2D F3F8                tst.b      [A5 - 0xC08]
  7055. 0000466E  662A                     bne        +0x2C /* 0000469A */
  7056. 00004670  0043 0200                ori.w      D3, 0x200
  7057. 00004674  6024                     bra        +0x26 /* 0000469A */
  7058. label00004676:
  7059. 00004676  0C6A FFFF 0048           cmpi.w     [A2 + 0x48], 0xFFFF
  7060. 0000467C  660A                     bne        +0xC /* 00004688 */
  7061. 0000467E  4A2D F3F8                tst.b      [A5 - 0xC08]
  7062. 00004682  6704                     beq        +0x6 /* 00004688 */
  7063. 00004684  0043 0100                ori.w      D3, 0x100
  7064. label00004688:
  7065. 00004688  0C6A 0001 0048           cmpi.w     [A2 + 0x48], 0x1
  7066. 0000468E  660A                     bne        +0xC /* 0000469A */
  7067. 00004690  4A2D F3F8                tst.b      [A5 - 0xC08]
  7068. 00004694  6604                     bne        +0x6 /* 0000469A */
  7069. 00004696  0043 0200                ori.w      D3, 0x200
  7070. label0000469A:
  7071. 0000469A  0C6A FFFF 004C           cmpi.w     [A2 + 0x4C], 0xFFFF
  7072. 000046A0  660A                     bne        +0xC /* 000046AC */
  7073. 000046A2  4A2D F3F7                tst.b      [A5 - 0xC09]
  7074. 000046A6  6704                     beq        +0x6 /* 000046AC */
  7075. 000046A8  0043 0400                ori.w      D3, 0x400
  7076. label000046AC:
  7077. 000046AC  0C6A 0001 004C           cmpi.w     [A2 + 0x4C], 0x1
  7078. 000046B2  660A                     bne        +0xC /* 000046BE */
  7079. 000046B4  4A2D F3F7                tst.b      [A5 - 0xC09]
  7080. 000046B8  6604                     bne        +0x6 /* 000046BE */
  7081. 000046BA  0043 0800                ori.w      D3, 0x800
  7082. label000046BE:
  7083. 000046BE  4A43                     tst.w      D3
  7084. 000046C0  6710                     beq        +0x12 /* 000046D2 */
  7085. 000046C2  3F03                     move.w     -[A7], D3
  7086. 000046C4  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  7087. 000046C8  2F0A                     move.l     -[A7], A2
  7088. 000046CA  4EBA FC6E                jsr        [PC - 0x392 /* 0000433A */]
  7089. 000046CE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7090. label000046D2:
  7091. 000046D2  204B                     movea.l    A0, A3
  7092. 000046D4  1004                     move.b     D0, D4
  7093. 000046D6  A06A                     syscall    HSetState
  7094. 000046D8  4A43                     tst.w      D3
  7095. 000046DA  6604                     bne        +0x6 /* 000046E0 */
  7096. 000046DC  7000                     moveq.l    D0, 0x00
  7097. 000046DE  6002                     bra        +0x4 /* 000046E2 */
  7098. label000046E0:
  7099. 000046E0  70FF                     moveq.l    D0, 0xFFFFFFFF
  7100. label000046E2:
  7101. 000046E2  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7102. 000046E6  4E75                     rts
  7103. fn000046E8:
  7104. 000046E8  48E7 1F20                movem.l    -[A7], D3,D4,D5,D6,D7,A2
  7105. 000046EC  4FEF FF42                lea.l      A7, [A7 - 0xBE]
  7106. 000046F0  426D F3F4                clr.w      [A5 - 0xC0C]
  7107. 000046F4  426D F3F2                clr.w      [A5 - 0xC0E]
  7108. 000046F8  7600                     moveq.l    D3, 0x00
  7109. 000046FA  600A                     bra        +0xC /* 00004706 */
  7110. label000046FC:
  7111. 000046FC  41ED EFE0                lea.l      A0, [A5 - 0x1020]
  7112. 00004700  4230 3000                clr.b      [A0 + D3.w]
  7113. 00004704  5243                     addq.w     D3, 1
  7114. label00004706:
  7115. 00004706  0C43 0100                cmpi.w     D3, 0x100
  7116. 0000470A  6DF0                     blt        -0xE /* 000046FC */
  7117. 0000470C  41ED EFE0                lea.l      A0, [A5 - 0x1020]
  7118. 00004710  2B48 EFDC                move.l     [A5 - 0x1024], A0
  7119. 00004714  7800                     moveq.l    D4, 0x00
  7120. 00004716  4A2D E54D                tst.b      [A5 - 0x1AB3]
  7121. 0000471A  6700 011A                beq        +0x11C /* 00004836 */
  7122. 0000471E  554F                     subq.w     A7, 2
  7123. 00004720  2F3C 6370 7574           move.l     -[A7], 0x63707574 /* 'cput' */
  7124. 00004726  486D F404                pea.l      [A5 - 0xBFC]
  7125. 0000472A  4EAD FEB0                jsr        [A5 - 0x150]
  7126. 0000472E  301F                     move.w     D0, [A7]+
  7127. 00004730  3600                     move.w     D3, D0
  7128. 00004732  4A43                     tst.w      D3
  7129. 00004734  6616                     bne        +0x18 /* 0000474C */
  7130. 00004736  4AAD F404                tst.l      [A5 - 0xBFC]
  7131. 0000473A  6D24                     blt        +0x26 /* 00004760 */
  7132. 0000473C  0CAD 0000 0101 F404      cmpi.l     [A5 - 0xBFC], 0x101
  7133. 00004744  641A                     bcc        +0x1C /* 00004760 */
  7134. 00004746  52AD F404                addq.l     [A5 - 0xBFC], 1
  7135. 0000474A  6014                     bra        +0x16 /* 00004760 */
  7136. label0000474C:
  7137. 0000474C  554F                     subq.w     A7, 2
  7138. 0000474E  2F3C 7072 6F63           move.l     -[A7], 0x70726F63 /* 'proc' */
  7139. 00004754  486D F404                pea.l      [A5 - 0xBFC]
  7140. 00004758  4EAD FEB0                jsr        [A5 - 0x150]
  7141. 0000475C  301F                     move.w     D0, [A7]+
  7142. 0000475E  3600                     move.w     D3, D0
  7143. label00004760:
  7144. 00004760  4A43                     tst.w      D3
  7145. 00004762  6704                     beq        +0x6 /* 00004768 */
  7146. 00004764  42AD F404                clr.l      [A5 - 0xBFC]
  7147. label00004768:
  7148. 00004768  4EBA C2E2                jsr        [PC - 0x3D1E /* 00000A4C */]
  7149. 0000476C  1B40 F403                move.b     [A5 - 0xBFD], D0
  7150. 00004770  554F                     subq.w     A7, 2
  7151. 00004772  2F3C 7379 7376           move.l     -[A7], 0x73797376 /* 'sysv' */
  7152. 00004778  486F 00C0                pea.l      [A7 + 0xC0]
  7153. 0000477C  4EAD FEB0                jsr        [A5 - 0x150]
  7154. 00004780  301F                     move.w     D0, [A7]+
  7155. 00004782  3600                     move.w     D3, D0
  7156. 00004784  4A43                     tst.w      D3
  7157. 00004786  6704                     beq        +0x6 /* 0000478C */
  7158. 00004788  7000                     moveq.l    D0, 0x00
  7159. 0000478A  6004                     bra        +0x6 /* 00004790 */
  7160. label0000478C:
  7161. 0000478C  202F 00BA                move.l     D0, [A7 + 0xBA]
  7162. label00004790:
  7163. 00004790  3F40 00AE                move.w     [A7 + 0xAE], D0
  7164. 00004794  554F                     subq.w     A7, 2
  7165. 00004796  2F3C 7261 6D20           move.l     -[A7], 0x72616D20 /* 'ram ' */
  7166. 0000479C  486F 00C0                pea.l      [A7 + 0xC0]
  7167. 000047A0  4EAD FEB0                jsr        [A5 - 0x150]
  7168. 000047A4  301F                     move.w     D0, [A7]+
  7169. 000047A6  3600                     move.w     D3, D0
  7170. 000047A8  4A43                     tst.w      D3
  7171. 000047AA  6704                     beq        +0x6 /* 000047B0 */
  7172. 000047AC  7000                     moveq.l    D0, 0x00
  7173. 000047AE  6004                     bra        +0x6 /* 000047B4 */
  7174. label000047B0:
  7175. 000047B0  202F 00BA                move.l     D0, [A7 + 0xBA]
  7176. label000047B4:
  7177. 000047B4  2B40 F3FA                move.l     [A5 - 0xC06], D0
  7178. 000047B8  554F                     subq.w     A7, 2
  7179. 000047BA  2F3C 7164 2020           move.l     -[A7], 0x71642020 /* 'qd  ' */
  7180. 000047C0  486F 00C0                pea.l      [A7 + 0xC0]
  7181. 000047C4  4EAD FEB0                jsr        [A5 - 0x150]
  7182. 000047C8  301F                     move.w     D0, [A7]+
  7183. 000047CA  3600                     move.w     D3, D0
  7184. 000047CC  4A43                     tst.w      D3
  7185. 000047CE  660A                     bne        +0xC /* 000047DA */
  7186. 000047D0  0CAF 0000 0100 00BA      cmpi.l     [A7 + 0xBA], 0x100
  7187. 000047D8  6C04                     bge        +0x6 /* 000047DE */
  7188. label000047DA:
  7189. 000047DA  7000                     moveq.l    D0, 0x00
  7190. 000047DC  6002                     bra        +0x4 /* 000047E0 */
  7191. label000047DE:
  7192. 000047DE  7001                     moveq.l    D0, 0x01
  7193. label000047E0:
  7194. 000047E0  1B40 F3F9                move.b     [A5 - 0xC07], D0
  7195. 000047E4  554F                     subq.w     A7, 2
  7196. 000047E6  2F3C 6670 7520           move.l     -[A7], 0x66707520 /* 'fpu ' */
  7197. 000047EC  486F 00C0                pea.l      [A7 + 0xC0]
  7198. 000047F0  4EAD FEB0                jsr        [A5 - 0x150]
  7199. 000047F4  301F                     move.w     D0, [A7]+
  7200. 000047F6  3600                     move.w     D3, D0
  7201. 000047F8  4A43                     tst.w      D3
  7202. 000047FA  6606                     bne        +0x8 /* 00004802 */
  7203. 000047FC  4AAF 00BA                tst.l      [A7 + 0xBA]
  7204. 00004800  6604                     bne        +0x6 /* 00004806 */
  7205. label00004802:
  7206. 00004802  7000                     moveq.l    D0, 0x00
  7207. 00004804  6002                     bra        +0x4 /* 00004808 */
  7208. label00004806:
  7209. 00004806  7001                     moveq.l    D0, 0x01
  7210. label00004808:
  7211. 00004808  1B40 F3F8                move.b     [A5 - 0xC08], D0
  7212. 0000480C  554F                     subq.w     A7, 2
  7213. 0000480E  2F3C 736C 7463           move.l     -[A7], 0x736C7463 /* 'sltc' */
  7214. 00004814  486F 00C0                pea.l      [A7 + 0xC0]
  7215. 00004818  4EAD FEB0                jsr        [A5 - 0x150]
  7216. 0000481C  301F                     move.w     D0, [A7]+
  7217. 0000481E  3600                     move.w     D3, D0
  7218. 00004820  4A43                     tst.w      D3
  7219. 00004822  6606                     bne        +0x8 /* 0000482A */
  7220. 00004824  4AAF 00BA                tst.l      [A7 + 0xBA]
  7221. 00004828  6604                     bne        +0x6 /* 0000482E */
  7222. label0000482A:
  7223. 0000482A  7000                     moveq.l    D0, 0x00
  7224. 0000482C  6002                     bra        +0x4 /* 00004830 */
  7225. label0000482E:
  7226. 0000482E  7001                     moveq.l    D0, 0x01
  7227. label00004830:
  7228. 00004830  1B40 F3F7                move.b     [A5 - 0xC09], D0
  7229. 00004834  606C                     bra        +0x6E /* 000048A2 */
  7230. label00004836:
  7231. 00004836  426F 00AE                clr.w      [A7 + 0xAE]
  7232. 0000483A  554F                     subq.w     A7, 2
  7233. 0000483C  3F3C 0001                move.w     -[A7], 0x1
  7234. 00004840  486F 00AE                pea.l      [A7 + 0xAE]
  7235. 00004844  4EAD FEA8                jsr        [A5 - 0x158]
  7236. 00004848  301F                     move.w     D0, [A7]+
  7237. 0000484A  7801                     moveq.l    D4, 0x01
  7238. 0000484C  306F 00B0                movea.w    A0, [A7 + 0xB0]
  7239. 00004850  2B48 F404                move.l     [A5 - 0xBFC], A0
  7240. 00004854  3F3C A88F                move.w     -[A7], 0xA88F
  7241. 00004858  4EAD FBD0                jsr        [A5 - 0x430]
  7242. 0000485C  4A00                     tst.b      D0
  7243. 0000485E  544F                     addq.w     A7, 2
  7244. 00004860  660C                     bne        +0xE /* 0000486E */
  7245. 00004862  594F                     subq.w     A7, 4
  7246. 00004864  2EB8 0108                move.l     [A7], [0x00000108 /* MemTop */]
  7247. 00004868  205F                     movea.l    A0, [A7]+
  7248. 0000486A  2008                     move.l     D0, A0
  7249. 0000486C  600C                     bra        +0xE /* 0000487A */
  7250. label0000486E:
  7251. 0000486E  594F                     subq.w     A7, 4
  7252. 00004870  3F3C 0016                move.w     -[A7], 0x16
  7253. 00004874  A88F                     syscall    OSDispatch
  7254. 00004876  205F                     movea.l    A0, [A7]+
  7255. 00004878  2008                     move.l     D0, A0
  7256. label0000487A:
  7257. 0000487A  2B40 F3FA                move.l     [A5 - 0xC06], D0
  7258. 0000487E  4A2F 00B3                tst.b      [A7 + 0xB3]
  7259. 00004882  6604                     bne        +0x6 /* 00004888 */
  7260. 00004884  7000                     moveq.l    D0, 0x00
  7261. 00004886  6002                     bra        +0x4 /* 0000488A */
  7262. label00004888:
  7263. 00004888  7001                     moveq.l    D0, 0x01
  7264. label0000488A:
  7265. 0000488A  1B40 F3F9                move.b     [A5 - 0xC07], D0
  7266. 0000488E  4A2F 00B2                tst.b      [A7 + 0xB2]
  7267. 00004892  6604                     bne        +0x6 /* 00004898 */
  7268. 00004894  7000                     moveq.l    D0, 0x00
  7269. 00004896  6002                     bra        +0x4 /* 0000489A */
  7270. label00004898:
  7271. 00004898  7001                     moveq.l    D0, 0x01
  7272. label0000489A:
  7273. 0000489A  1B40 F3F8                move.b     [A5 - 0xC08], D0
  7274. 0000489E  422D F3F7                clr.b      [A5 - 0xC09]
  7275. label000048A2:
  7276. 000048A2  3C2F 00AE                move.w     D6, [A7 + 0xAE]
  7277. 000048A6  48C6                     ext.l      D6
  7278. 000048A8  2606                     move.l     D3, D6
  7279. 000048AA  0283 0000 FF00           andi.l     D3, 0xFF00
  7280. 000048B0  E083                     asr        D3, 8
  7281. 000048B2  3003                     move.w     D0, D3
  7282. 000048B4  48C0                     ext.l      D0
  7283. 000048B6  720A                     moveq.l    D1, 0x0A
  7284. 000048B8  4EAD FB84                jsr        [A5 - 0x47C]
  7285. 000048BC  720A                     moveq.l    D1, 0x0A
  7286. 000048BE  4EAD FB78                jsr        [A5 - 0x488]
  7287. 000048C2  3A00                     move.w     D5, D0
  7288. 000048C4  9645                     sub.w      D3, D5
  7289. 000048C6  2E06                     move.l     D7, D6
  7290. 000048C8  0287 0000 00F0           andi.l     D7, 0xF0
  7291. 000048CE  E887                     asr        D7, 4
  7292. 000048D0  700F                     moveq.l    D0, 0x0F
  7293. 000048D2  C086                     and.l      D0, D6
  7294. 000048D4  3F40 0024                move.w     [A7 + 0x24], D0
  7295. 000048D8  3043                     movea.w    A0, D3
  7296. 000048DA  2008                     move.l     D0, A0
  7297. 000048DC  7210                     moveq.l    D1, 0x10
  7298. 000048DE  E3A8                     lsl        D0, D1
  7299. 000048E0  3045                     movea.w    A0, D5
  7300. 000048E2  2208                     move.l     D1, A0
  7301. 000048E4  7418                     moveq.l    D2, 0x18
  7302. 000048E6  E5A9                     lsl        D1, D2
  7303. 000048E8  D280                     add.l      D1, D0
  7304. 000048EA  3007                     move.w     D0, D7
  7305. 000048EC  48C0                     ext.l      D0
  7306. 000048EE  E188                     lsl        D0, 8
  7307. 000048F0  D081                     add.l      D0, D1
  7308. 000048F2  322F 0024                move.w     D1, [A7 + 0x24]
  7309. 000048F6  48C1                     ext.l      D1
  7310. 000048F8  D280                     add.l      D1, D0
  7311. 000048FA  2B41 F3FE                move.l     [A5 - 0xC02], D1
  7312. 000048FE  4A2D E54D                tst.b      [A5 - 0x1AB3]
  7313. 00004902  6744                     beq        +0x46 /* 00004948 */
  7314. 00004904  554F                     subq.w     A7, 2
  7315. 00004906  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  7316. 0000490C  486F 00C0                pea.l      [A7 + 0xC0]
  7317. 00004910  4EAD FEB0                jsr        [A5 - 0x150]
  7318. 00004914  301F                     move.w     D0, [A7]+
  7319. 00004916  3600                     move.w     D3, D0
  7320. 00004918  4A43                     tst.w      D3
  7321. 0000491A  6628                     bne        +0x2A /* 00004944 */
  7322. 0000491C  7001                     moveq.l    D0, 0x01
  7323. 0000491E  C0AF 00BA                and.l      D0, [A7 + 0xBA]
  7324. 00004922  6720                     beq        +0x22 /* 00004944 */
  7325. 00004924  554F                     subq.w     A7, 2
  7326. 00004926  3F3C 8000                move.w     -[A7], 0x8000
  7327. 0000492A  2F3C 6D61 6373           move.l     -[A7], 0x6D616373 /* 'macs' */
  7328. 00004930  4227                     clr.b      -[A7]
  7329. 00004932  486D F3EE                pea.l      [A5 - 0xC12]
  7330. 00004936  486D F3E8                pea.l      [A5 - 0xC18]
  7331. 0000493A  4EAD FFE8                jsr        [A5 - 0x18]
  7332. 0000493E  301F                     move.w     D0, [A7]+
  7333. 00004940  3600                     move.w     D3, D0
  7334. 00004942  6006                     bra        +0x8 /* 0000494A */
  7335. label00004944:
  7336. 00004944  76FF                     moveq.l    D3, 0xFFFFFFFF
  7337. 00004946  6002                     bra        +0x4 /* 0000494A */
  7338. label00004948:
  7339. 00004948  76FF                     moveq.l    D3, 0xFFFFFFFF
  7340. label0000494A:
  7341. 0000494A  4A43                     tst.w      D3
  7342. 0000494C  6732                     beq        +0x34 /* 00004980 */
  7343. 0000494E  4A04                     tst.b      D4
  7344. 00004950  6614                     bne        +0x16 /* 00004966 */
  7345. 00004952  426F 00AE                clr.w      [A7 + 0xAE]
  7346. 00004956  554F                     subq.w     A7, 2
  7347. 00004958  3F3C 0001                move.w     -[A7], 0x1
  7348. 0000495C  486F 00AE                pea.l      [A7 + 0xAE]
  7349. 00004960  4EAD FEA8                jsr        [A5 - 0x158]
  7350. 00004964  301F                     move.w     D0, [A7]+
  7351. label00004966:
  7352. 00004966  554F                     subq.w     A7, 2
  7353. 00004968  3F2F 00BA                move.w     -[A7], [A7 + 0xBA]
  7354. 0000496C  486D F3EE                pea.l      [A5 - 0xC12]
  7355. 00004970  486D F3E8                pea.l      [A5 - 0xC18]
  7356. 00004974  486F 000C                pea.l      [A7 + 0xC]
  7357. 00004978  4EAD FFD0                jsr        [A5 - 0x30]
  7358. 0000497C  301F                     move.w     D0, [A7]+
  7359. 0000497E  3600                     move.w     D3, D0
  7360. label00004980:
  7361. 00004980  4A43                     tst.w      D3
  7362. 00004982  670A                     beq        +0xC /* 0000498E */
  7363. 00004984  42AD F3E8                clr.l      [A5 - 0xC18]
  7364. 00004988  7000                     moveq.l    D0, 0x00
  7365. 0000498A  3B40 F3EE                move.w     [A5 - 0xC12], D0
  7366. label0000498E:
  7367. 0000498E  4A2D E54D                tst.b      [A5 - 0x1AB3]
  7368. 00004992  6744                     beq        +0x46 /* 000049D8 */
  7369. 00004994  554F                     subq.w     A7, 2
  7370. 00004996  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  7371. 0000499C  486F 00C0                pea.l      [A7 + 0xC0]
  7372. 000049A0  4EAD FEB0                jsr        [A5 - 0x150]
  7373. 000049A4  301F                     move.w     D0, [A7]+
  7374. 000049A6  3600                     move.w     D3, D0
  7375. 000049A8  4A43                     tst.w      D3
  7376. 000049AA  6628                     bne        +0x2A /* 000049D4 */
  7377. 000049AC  7001                     moveq.l    D0, 0x01
  7378. 000049AE  C0AF 00BA                and.l      D0, [A7 + 0xBA]
  7379. 000049B2  6720                     beq        +0x22 /* 000049D4 */
  7380. 000049B4  554F                     subq.w     A7, 2
  7381. 000049B6  3F2F 00DC                move.w     -[A7], [A7 + 0xDC]
  7382. 000049BA  2F3C 6D61 6373           move.l     -[A7], 0x6D616373 /* 'macs' */
  7383. 000049C0  4227                     clr.b      -[A7]
  7384. 000049C2  486F 0038                pea.l      [A7 + 0x38]
  7385. 000049C6  486F 0038                pea.l      [A7 + 0x38]
  7386. 000049CA  4EAD FFE8                jsr        [A5 - 0x18]
  7387. 000049CE  301F                     move.w     D0, [A7]+
  7388. 000049D0  3600                     move.w     D3, D0
  7389. 000049D2  6006                     bra        +0x8 /* 000049DA */
  7390. label000049D4:
  7391. 000049D4  76FF                     moveq.l    D3, 0xFFFFFFFF
  7392. 000049D6  6002                     bra        +0x4 /* 000049DA */
  7393. label000049D8:
  7394. 000049D8  76FF                     moveq.l    D3, 0xFFFFFFFF
  7395. label000049DA:
  7396. 000049DA  4A43                     tst.w      D3
  7397. 000049DC  672C                     beq        +0x2E /* 00004A0A */
  7398. 000049DE  42AF 0042                clr.l      [A7 + 0x42]
  7399. 000049E2  3F6F 00DA 0046           move.w     [A7 + 0x46], [A7 + 0xDA]
  7400. 000049E8  426F 004C                clr.w      [A7 + 0x4C]
  7401. 000049EC  41EF 0030                lea.l      A0, [A7 + 0x30]
  7402. 000049F0  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  7403. 000049F2  3600                     move.w     D3, D0
  7404. 000049F4  4A43                     tst.w      D3
  7405. 000049F6  6612                     bne        +0x14 /* 00004A0A */
  7406. 000049F8  4AAF 008A                tst.l      [A7 + 0x8A]
  7407. 000049FC  670C                     beq        +0xE /* 00004A0A */
  7408. 000049FE  3F6F 0046 002E           move.w     [A7 + 0x2E], [A7 + 0x46]
  7409. 00004A04  2F6F 008A 002A           move.l     [A7 + 0x2A], [A7 + 0x8A]
  7410. label00004A0A:
  7411. 00004A0A  4A43                     tst.w      D3
  7412. 00004A0C  6600 00A4                bne        +0xA6 /* 00004AB2 */
  7413. 00004A10  4A6F 002E                tst.w      [A7 + 0x2E]
  7414. 00004A14  6700 009C                beq        +0x9E /* 00004AB2 */
  7415. 00004A18  4AAF 002A                tst.l      [A7 + 0x2A]
  7416. 00004A1C  6700 0094                beq        +0x96 /* 00004AB2 */
  7417. 00004A20  302F 002E                move.w     D0, [A7 + 0x2E]
  7418. 00004A24  B06D F3EE                cmp.w      D0, [A5 - 0xC12]
  7419. 00004A28  6612                     bne        +0x14 /* 00004A3C */
  7420. 00004A2A  202F 002A                move.l     D0, [A7 + 0x2A]
  7421. 00004A2E  B0AD F3E8                cmp.l      D0, [A5 - 0xC18]
  7422. 00004A32  6608                     bne        +0xA /* 00004A3C */
  7423. 00004A34  2B6D F3FE F3E0           move.l     [A5 - 0xC20], [A5 - 0xC02]
  7424. 00004A3A  607A                     bra        +0x7C /* 00004AB6 */
  7425. label00004A3C:
  7426. 00004A3C  2F3C 7D03 0003           move.l     -[A7], 0x7D030003
  7427. 00004A42  486F 0008                pea.l      [A7 + 0x8]
  7428. 00004A46  4EBA BDF8                jsr        [PC - 0x4208 /* 00000840 */]
  7429. 00004A4A  486F 002E                pea.l      [A7 + 0x2E]
  7430. 00004A4E  486F 0010                pea.l      [A7 + 0x10]
  7431. 00004A52  2F2F 003A                move.l     -[A7], [A7 + 0x3A]
  7432. 00004A56  3F2F 0042                move.w     -[A7], [A7 + 0x42]
  7433. 00004A5A  4EBA DE1E                jsr        [PC - 0x21E2 /* 0000287A */]
  7434. 00004A5E  3600                     move.w     D3, D0
  7435. 00004A60  4A43                     tst.w      D3
  7436. 00004A62  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7437. 00004A66  6644                     bne        +0x46 /* 00004AAC */
  7438. 00004A68  7600                     moveq.l    D3, 0x00
  7439. 00004A6A  362F 0026                move.w     D3, [A7 + 0x26]
  7440. 00004A6E  E04B                     lsr        D3.w, 8
  7441. 00004A70  2003                     move.l     D0, D3
  7442. 00004A72  720A                     moveq.l    D1, 0x0A
  7443. 00004A74  4EAD FB7E                jsr        [A5 - 0x482]
  7444. 00004A78  720A                     moveq.l    D1, 0x0A
  7445. 00004A7A  4EAD FB78                jsr        [A5 - 0x488]
  7446. 00004A7E  2800                     move.l     D4, D0
  7447. 00004A80  9684                     sub.l      D3, D4
  7448. 00004A82  7A00                     moveq.l    D5, 0x00
  7449. 00004A84  1A2F 0027                move.b     D5, [A7 + 0x27]
  7450. 00004A88  E80D                     lsr        D5.b, 4
  7451. 00004A8A  7C0F                     moveq.l    D6, 0x0F
  7452. 00004A8C  CC2F 0027                and.b      D6, [A7 + 0x27]
  7453. 00004A90  2003                     move.l     D0, D3
  7454. 00004A92  7210                     moveq.l    D1, 0x10
  7455. 00004A94  E3A8                     lsl        D0, D1
  7456. 00004A96  2204                     move.l     D1, D4
  7457. 00004A98  7418                     moveq.l    D2, 0x18
  7458. 00004A9A  E5A9                     lsl        D1, D2
  7459. 00004A9C  D280                     add.l      D1, D0
  7460. 00004A9E  2005                     move.l     D0, D5
  7461. 00004AA0  E188                     lsl        D0, 8
  7462. 00004AA2  D081                     add.l      D0, D1
  7463. 00004AA4  D086                     add.l      D0, D6
  7464. 00004AA6  2B40 F3E0                move.l     [A5 - 0xC20], D0
  7465. 00004AAA  600A                     bra        +0xC /* 00004AB6 */
  7466. label00004AAC:
  7467. 00004AAC  42AD F3E0                clr.l      [A5 - 0xC20]
  7468. 00004AB0  6004                     bra        +0x6 /* 00004AB6 */
  7469. label00004AB2:
  7470. 00004AB2  42AD F3E0                clr.l      [A5 - 0xC20]
  7471. label00004AB6:
  7472. 00004AB6  2F3C 7D03 0001           move.l     -[A7], 0x7D030001
  7473. 00004ABC  486D F2E0                pea.l      [A5 - 0xD20]
  7474. 00004AC0  4EBA BD7E                jsr        [PC - 0x4282 /* 00000840 */]
  7475. 00004AC4  2F3C 7D03 0002           move.l     -[A7], 0x7D030002
  7476. 00004ACA  486D F1E0                pea.l      [A5 - 0xE20]
  7477. 00004ACE  4EBA BD70                jsr        [PC - 0x4290 /* 00000840 */]
  7478. 00004AD2  4A2D F3F9                tst.b      [A5 - 0xC07]
  7479. 00004AD6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7480. 00004ADA  6752                     beq        +0x54 /* 00004B2E */
  7481. 00004ADC  422D F3F9                clr.b      [A5 - 0xC07]
  7482. 00004AE0  594F                     subq.w     A7, 4
  7483. 00004AE2  AA29                     syscall    GetDeviceList
  7484. 00004AE4  205F                     movea.l    A0, [A7]+
  7485. 00004AE6  2448                     movea.l    A2, A0
  7486. 00004AE8  603E                     bra        +0x40 /* 00004B28 */
  7487. label00004AEA:
  7488. 00004AEA  554F                     subq.w     A7, 2
  7489. 00004AEC  2F0A                     move.l     -[A7], A2
  7490. 00004AEE  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  7491. 00004AF2  AA2C                     syscall    TestDeviceAttribute
  7492. 00004AF4  101F                     move.b     D0, [A7]+
  7493. 00004AF6  6726                     beq        +0x28 /* 00004B1E */
  7494. 00004AF8  554F                     subq.w     A7, 2
  7495. 00004AFA  2F0A                     move.l     -[A7], A2
  7496. 00004AFC  3F3C 000F                move.w     -[A7], 0xF
  7497. 00004B00  AA2C                     syscall    TestDeviceAttribute
  7498. 00004B02  101F                     move.b     D0, [A7]+
  7499. 00004B04  6718                     beq        +0x1A /* 00004B1E */
  7500. 00004B06  2052                     movea.l    A0, [A2]
  7501. 00004B08  2068 0016                movea.l    A0, [A0 + 0x16]
  7502. 00004B0C  2050                     movea.l    A0, [A0]
  7503. 00004B0E  0C68 0001 0020           cmpi.w     [A0 + 0x20], 0x1
  7504. 00004B14  6F08                     ble        +0xA /* 00004B1E */
  7505. 00004B16  1B7C 0001 F3F9           move.b     [A5 - 0xC07], 0x1
  7506. 00004B1C  6010                     bra        +0x12 /* 00004B2E */
  7507. label00004B1E:
  7508. 00004B1E  594F                     subq.w     A7, 4
  7509. 00004B20  2F0A                     move.l     -[A7], A2
  7510. 00004B22  AA2B                     syscall    GetNextDevice
  7511. 00004B24  205F                     movea.l    A0, [A7]+
  7512. 00004B26  2448                     movea.l    A2, A0
  7513. label00004B28:
  7514. 00004B28  200A                     move.l     D0, A2
  7515. 00004B2A  4A80                     tst.l      D0
  7516. 00004B2C  66BC                     bne        -0x42 /* 00004AEA */
  7517. label00004B2E:
  7518. 00004B2E  4FEF 00BE                lea.l      A7, [A7 + 0xBE]
  7519. 00004B32  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  7520. 00004B36  4E75                     rts
  7521. fn00004B38:
  7522. 00004B38  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  7523. 00004B3C  4FEF FF00                lea.l      A7, [A7 - 0x100]
  7524. 00004B40  7C00                     moveq.l    D6, 0x00
  7525. 00004B42  7A00                     moveq.l    D5, 0x00
  7526. label00004B44:
  7527. 00004B44  5246                     addq.w     D6, 1
  7528. 00004B46  3F06                     move.w     -[A7], D6
  7529. 00004B48  3F2F 0122                move.w     -[A7], [A7 + 0x122]
  7530. 00004B4C  486F 0004                pea.l      [A7 + 0x4]
  7531. 00004B50  4EBA BCEE                jsr        [PC - 0x4312 /* 00000840 */]
  7532. 00004B54  4A2F 0008                tst.b      [A7 + 0x8]
  7533. 00004B58  504F                     addq.w     A7, 8
  7534. 00004B5A  673A                     beq        +0x3C /* 00004B96 */
  7535. 00004B5C  266F 011C                movea.l    A3, [A7 + 0x11C]
  7536. 00004B60  45D7                     lea.l      A2, [A7]
  7537. 00004B62  181A                     move.b     D4, [A2]+
  7538. 00004B64  6004                     bra        +0x6 /* 00004B6A */
  7539. label00004B66:
  7540. 00004B66  528B                     addq.l     A3, 1
  7541. 00004B68  528A                     addq.l     A2, 1
  7542. label00004B6A:
  7543. 00004B6A  1613                     move.b     D3, [A3]
  7544. 00004B6C  4A03                     tst.b      D3
  7545. 00004B6E  6712                     beq        +0x14 /* 00004B82 */
  7546. 00004B70  0C03 003A                cmpi.b     D3, 0x3A /* ':' */
  7547. 00004B74  670C                     beq        +0xE /* 00004B82 */
  7548. 00004B76  1004                     move.b     D0, D4
  7549. 00004B78  5304                     subq.b     D4, 1
  7550. 00004B7A  4A00                     tst.b      D0
  7551. 00004B7C  6704                     beq        +0x6 /* 00004B82 */
  7552. 00004B7E  B612                     cmp.b      D3, [A2]
  7553. 00004B80  67E4                     beq        -0x1A /* 00004B66 */
  7554. label00004B82:
  7555. 00004B82  4A03                     tst.b      D3
  7556. 00004B84  6706                     beq        +0x8 /* 00004B8C */
  7557. 00004B86  0C03 003A                cmpi.b     D3, 0x3A /* ':' */
  7558. 00004B8A  6606                     bne        +0x8 /* 00004B92 */
  7559. label00004B8C:
  7560. 00004B8C  4A04                     tst.b      D4
  7561. 00004B8E  6602                     bne        +0x4 /* 00004B92 */
  7562. 00004B90  7A01                     moveq.l    D5, 0x01
  7563. label00004B92:
  7564. 00004B92  4A05                     tst.b      D5
  7565. 00004B94  67AE                     beq        -0x50 /* 00004B44 */
  7566. label00004B96:
  7567. 00004B96  4A05                     tst.b      D5
  7568. 00004B98  6604                     bne        +0x6 /* 00004B9E */
  7569. 00004B9A  7000                     moveq.l    D0, 0x00
  7570. 00004B9C  6004                     bra        +0x6 /* 00004BA2 */
  7571. label00004B9E:
  7572. 00004B9E  3006                     move.w     D0, D6
  7573. 00004BA0  48C0                     ext.l      D0
  7574. label00004BA2:
  7575. 00004BA2  4FEF 0100                lea.l      A7, [A7 + 0x100]
  7576. 00004BA6  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  7577. 00004BAA  4E75                     rts
  7578. fn00004BAC:
  7579. 00004BAC  48E7 0810                movem.l    -[A7], D4,A3
  7580. 00004BB0  266F 000C                movea.l    A3, [A7 + 0xC]
  7581. 00004BB4  7800                     moveq.l    D4, 0x00
  7582. 00004BB6  6002                     bra        +0x4 /* 00004BBA */
  7583. label00004BB8:
  7584. 00004BB8  528B                     addq.l     A3, 1
  7585. label00004BBA:
  7586. 00004BBA  1413                     move.b     D2, [A3]
  7587. 00004BBC  0C02 002C                cmpi.b     D2, 0x2C /* ',' */
  7588. 00004BC0  67F6                     beq        -0x8 /* 00004BB8 */
  7589. 00004BC2  7000                     moveq.l    D0, 0x00
  7590. 00004BC4  1002                     move.b     D0, D2
  7591. 00004BC6  41ED F8B4                lea.l      A0, [A5 - 0x74C]
  7592. 00004BCA  1030 0800                move.b     D0, [A0 + D0]
  7593. 00004BCE  7206                     moveq.l    D1, 0x06
  7594. 00004BD0  C081                     and.l      D0, D1
  7595. 00004BD2  66E4                     bne        -0x1A /* 00004BB8 */
  7596. 00004BD4  4A13                     tst.b      [A3]
  7597. 00004BD6  6604                     bne        +0x6 /* 00004BDC */
  7598. 00004BD8  91C8                     sub.l      A0, A0
  7599. 00004BDA  6032                     bra        +0x34 /* 00004C0E */
  7600. label00004BDC:
  7601. 00004BDC  224B                     movea.l    A1, A3
  7602. 00004BDE  600C                     bra        +0xE /* 00004BEC */
  7603. label00004BE0:
  7604. 00004BE0  0C02 001D                cmpi.b     D2, 0x1D
  7605. 00004BE4  6604                     bne        +0x6 /* 00004BEA */
  7606. 00004BE6  0A04 0001                xori.b     D4, 0x1
  7607. label00004BEA:
  7608. 00004BEA  16C2                     move.b     [A3]+, D2
  7609. label00004BEC:
  7610. 00004BEC  1413                     move.b     D2, [A3]
  7611. 00004BEE  0C02 002C                cmpi.b     D2, 0x2C /* ',' */
  7612. 00004BF2  6712                     beq        +0x14 /* 00004C06 */
  7613. 00004BF4  7000                     moveq.l    D0, 0x00
  7614. 00004BF6  1002                     move.b     D0, D2
  7615. 00004BF8  41ED F8B4                lea.l      A0, [A5 - 0x74C]
  7616. 00004BFC  1030 0800                move.b     D0, [A0 + D0]
  7617. 00004C00  7206                     moveq.l    D1, 0x06
  7618. 00004C02  C081                     and.l      D0, D1
  7619. 00004C04  67DA                     beq        -0x24 /* 00004BE0 */
  7620. label00004C06:
  7621. 00004C06  4A04                     tst.b      D4
  7622. 00004C08  66D6                     bne        -0x28 /* 00004BE0 */
  7623. 00004C0A  4213                     clr.b      [A3]
  7624. 00004C0C  2049                     movea.l    A0, A1
  7625. label00004C0E:
  7626. 00004C0E  4CDF 0810                movem.l    D4,A3, [A7]+
  7627. 00004C12  4E75                     rts
  7628. fn00004C14:
  7629. 00004C14  48E7 0810                movem.l    -[A7], D4,A3
  7630. 00004C18  226F 000C                movea.l    A1, [A7 + 0xC]
  7631. 00004C1C  7800                     moveq.l    D4, 0x00
  7632. label00004C1E:
  7633. 00004C1E  4A19                     tst.b      [A1]+
  7634. 00004C20  66FC                     bne        -0x2 /* 00004C1E */
  7635. 00004C22  4A11                     tst.b      [A1]
  7636. 00004C24  6606                     bne        +0x8 /* 00004C2C */
  7637. 00004C26  91C8                     sub.l      A0, A0
  7638. 00004C28  604E                     bra        +0x50 /* 00004C78 */
  7639. label00004C2A:
  7640. 00004C2A  5289                     addq.l     A1, 1
  7641. label00004C2C:
  7642. 00004C2C  1411                     move.b     D2, [A1]
  7643. 00004C2E  0C02 002C                cmpi.b     D2, 0x2C /* ',' */
  7644. 00004C32  67F6                     beq        -0x8 /* 00004C2A */
  7645. 00004C34  7000                     moveq.l    D0, 0x00
  7646. 00004C36  1002                     move.b     D0, D2
  7647. 00004C38  41ED F8B4                lea.l      A0, [A5 - 0x74C]
  7648. 00004C3C  1030 0800                move.b     D0, [A0 + D0]
  7649. 00004C40  7206                     moveq.l    D1, 0x06
  7650. 00004C42  C081                     and.l      D0, D1
  7651. 00004C44  66E4                     bne        -0x1A /* 00004C2A */
  7652. 00004C46  2649                     movea.l    A3, A1
  7653. 00004C48  600C                     bra        +0xE /* 00004C56 */
  7654. label00004C4A:
  7655. 00004C4A  0C02 001D                cmpi.b     D2, 0x1D
  7656. 00004C4E  6604                     bne        +0x6 /* 00004C54 */
  7657. 00004C50  0A04 0001                xori.b     D4, 0x1
  7658. label00004C54:
  7659. 00004C54  12C2                     move.b     [A1]+, D2
  7660. label00004C56:
  7661. 00004C56  1411                     move.b     D2, [A1]
  7662. 00004C58  0C02 002C                cmpi.b     D2, 0x2C /* ',' */
  7663. 00004C5C  6712                     beq        +0x14 /* 00004C70 */
  7664. 00004C5E  7000                     moveq.l    D0, 0x00
  7665. 00004C60  1002                     move.b     D0, D2
  7666. 00004C62  41ED F8B4                lea.l      A0, [A5 - 0x74C]
  7667. 00004C66  1030 0800                move.b     D0, [A0 + D0]
  7668. 00004C6A  7206                     moveq.l    D1, 0x06
  7669. 00004C6C  C081                     and.l      D0, D1
  7670. 00004C6E  67DA                     beq        -0x24 /* 00004C4A */
  7671. label00004C70:
  7672. 00004C70  4A04                     tst.b      D4
  7673. 00004C72  66D6                     bne        -0x28 /* 00004C4A */
  7674. 00004C74  4211                     clr.b      [A1]
  7675. 00004C76  204B                     movea.l    A0, A3
  7676. label00004C78:
  7677. 00004C78  4CDF 0810                movem.l    D4,A3, [A7]+
  7678. 00004C7C  4E75                     rts
  7679. fn00004C7E:
  7680. 00004C7E  2F0A                     move.l     -[A7], A2
  7681. 00004C80  246F 0008                movea.l    A2, [A7 + 0x8]
  7682. 00004C84  6002                     bra        +0x4 /* 00004C88 */
  7683. label00004C86:
  7684. 00004C86  528A                     addq.l     A2, 1
  7685. label00004C88:
  7686. 00004C88  4A12                     tst.b      [A2]
  7687. 00004C8A  6706                     beq        +0x8 /* 00004C92 */
  7688. 00004C8C  0C12 003A                cmpi.b     [A2], 0x3A /* ':' */
  7689. 00004C90  66F4                     bne        -0xA /* 00004C86 */
  7690. label00004C92:
  7691. 00004C92  0C12 003A                cmpi.b     [A2], 0x3A /* ':' */
  7692. 00004C96  6704                     beq        +0x6 /* 00004C9C */
  7693. 00004C98  91C8                     sub.l      A0, A0
  7694. 00004C9A  6004                     bra        +0x6 /* 00004CA0 */
  7695. label00004C9C:
  7696. 00004C9C  204A                     movea.l    A0, A2
  7697. 00004C9E  5288                     addq.l     A0, 1
  7698. label00004CA0:
  7699. 00004CA0  245F                     movea.l    A2, [A7]+
  7700. 00004CA2  4E75                     rts
  7701. fn00004CA4:
  7702. 00004CA4  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  7703. 00004CA8  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  7704. 00004CAC  2C6F 0044                movea.l    A6, [A7 + 0x44]
  7705. 00004CB0  3A2F 0048                move.w     D5, [A7 + 0x48]
  7706. 00004CB4  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  7707. 00004CB8  4EBA FFC4                jsr        [PC - 0x3C /* 00004C7E */]
  7708. 00004CBC  2448                     movea.l    A2, A0
  7709. 00004CBE  200A                     move.l     D0, A2
  7710. 00004CC0  4A80                     tst.l      D0
  7711. 00004CC2  584F                     addq.w     A7, 4
  7712. 00004CC4  6700 0108                beq        +0x10A /* 00004DCE */
  7713. 00004CC8  3005                     move.w     D0, D5
  7714. 00004CCA  48C0                     ext.l      D0
  7715. 00004CCC  5280                     addq.l     D0, 1
  7716. 00004CCE  E788                     lsl        D0, 3
  7717. 00004CD0  A11E                     syscall    NewPtr, flags=1
  7718. 00004CD2  2648                     movea.l    A3, A0
  7719. 00004CD4  200B                     move.l     D0, A3
  7720. 00004CD6  4A80                     tst.l      D0
  7721. 00004CD8  6606                     bne        +0x8 /* 00004CE0 */
  7722. 00004CDA  7000                     moveq.l    D0, 0x00
  7723. 00004CDC  6000 00F2                bra        +0xF4 /* 00004DD0 */
  7724. label00004CE0:
  7725. 00004CE0  7801                     moveq.l    D4, 0x01
  7726. 00004CE2  528A                     addq.l     A2, 1
  7727. 00004CE4  600C                     bra        +0xE /* 00004CF2 */
  7728. label00004CE6:
  7729. 00004CE6  7000                     moveq.l    D0, 0x00
  7730. 00004CE8  1004                     move.b     D0, D4
  7731. 00004CEA  41D7                     lea.l      A0, [A7]
  7732. 00004CEC  1183 0000                move.b     [A0 + D0.w], D3
  7733. 00004CF0  5204                     addq.b     D4, 1
  7734. label00004CF2:
  7735. 00004CF2  161A                     move.b     D3, [A2]+
  7736. 00004CF4  0C03 001D                cmpi.b     D3, 0x1D
  7737. 00004CF8  66EC                     bne        -0x12 /* 00004CE6 */
  7738. 00004CFA  7000                     moveq.l    D0, 0x00
  7739. 00004CFC  1004                     move.b     D0, D4
  7740. 00004CFE  5380                     subq.l     D0, 1
  7741. 00004D00  1E80                     move.b     [A7], D0
  7742. 00004D02  4EBA BD48                jsr        [PC - 0x42B8 /* 00000A4C */]
  7743. 00004D06  4A00                     tst.b      D0
  7744. 00004D08  6604                     bne        +0x6 /* 00004D0E */
  7745. 00004D0A  91C8                     sub.l      A0, A0
  7746. 00004D0C  6010                     bra        +0x12 /* 00004D1E */
  7747. label00004D0E:
  7748. 00004D0E  594F                     subq.w     A7, 4
  7749. 00004D10  2F3C 5852 6F7A           move.l     -[A7], 0x58526F7A /* 'XRoz' */
  7750. 00004D16  486F 0008                pea.l      [A7 + 0x8]
  7751. 00004D1A  A9A1                     syscall    GetNamedResource
  7752. 00004D1C  205F                     movea.l    A0, [A7]+
  7753. label00004D1E:
  7754. 00004D1E  2848                     movea.l    A4, A0
  7755. 00004D20  200C                     move.l     D0, A4
  7756. 00004D22  4A80                     tst.l      D0
  7757. 00004D24  6612                     bne        +0x14 /* 00004D38 */
  7758. 00004D26  594F                     subq.w     A7, 4
  7759. 00004D28  2F3C 5852 6179           move.l     -[A7], 0x58526179 /* 'XRay' */
  7760. 00004D2E  486F 0008                pea.l      [A7 + 0x8]
  7761. 00004D32  A9A1                     syscall    GetNamedResource
  7762. 00004D34  205F                     movea.l    A0, [A7]+
  7763. 00004D36  2848                     movea.l    A4, A0
  7764. label00004D38:
  7765. 00004D38  3045                     movea.w    A0, D5
  7766. 00004D3A  2008                     move.l     D0, A0
  7767. 00004D3C  E788                     lsl        D0, 3
  7768. 00004D3E  278C 0800                move.l     [A3 + D0], A4
  7769. 00004D42  7800                     moveq.l    D4, 0x00
  7770. 00004D44  0C12 002F                cmpi.b     [A2], 0x2F /* '/' */
  7771. 00004D48  6620                     bne        +0x22 /* 00004D6A */
  7772. 00004D4A  528A                     addq.l     A2, 1
  7773. 00004D4C  6010                     bra        +0x12 /* 00004D5E */
  7774. label00004D4E:
  7775. 00004D4E  700A                     moveq.l    D0, 0x0A
  7776. 00004D50  C1C4                     muls.w     D0, D4
  7777. 00004D52  7200                     moveq.l    D1, 0x00
  7778. 00004D54  1203                     move.b     D1, D3
  7779. 00004D56  74D0                     moveq.l    D2, 0xFFFFFFD0
  7780. 00004D58  D282                     add.l      D1, D2
  7781. 00004D5A  D280                     add.l      D1, D0
  7782. 00004D5C  3801                     move.w     D4, D1
  7783. label00004D5E:
  7784. 00004D5E  161A                     move.b     D3, [A2]+
  7785. 00004D60  4A03                     tst.b      D3
  7786. 00004D62  6706                     beq        +0x8 /* 00004D6A */
  7787. 00004D64  0C03 002F                cmpi.b     D3, 0x2F /* '/' */
  7788. 00004D68  66E4                     bne        -0x1A /* 00004D4E */
  7789. label00004D6A:
  7790. 00004D6A  4A44                     tst.w      D4
  7791. 00004D6C  671A                     beq        +0x1C /* 00004D88 */
  7792. 00004D6E  594F                     subq.w     A7, 4
  7793. 00004D70  2F3C 5850 6172           move.l     -[A7], 0x58506172 /* 'XPar' */
  7794. 00004D76  3F04                     move.w     -[A7], D4
  7795. 00004D78  A9A0                     syscall    GetResource
  7796. 00004D7A  205F                     movea.l    A0, [A7]+
  7797. 00004D7C  3245                     movea.w    A1, D5
  7798. 00004D7E  2009                     move.l     D0, A1
  7799. 00004D80  E788                     lsl        D0, 3
  7800. 00004D82  2788 0804                move.l     [A3 + D0 + 0x4], A0
  7801. 00004D86  600A                     bra        +0xC /* 00004D92 */
  7802. label00004D88:
  7803. 00004D88  3045                     movea.w    A0, D5
  7804. 00004D8A  2008                     move.l     D0, A0
  7805. 00004D8C  E788                     lsl        D0, 3
  7806. 00004D8E  42B3 0804                clr.l      [A3 + D0 + 0x4]
  7807. label00004D92:
  7808. 00004D92  3045                     movea.w    A0, D5
  7809. 00004D94  2008                     move.l     D0, A0
  7810. 00004D96  E788                     lsl        D0, 3
  7811. 00004D98  4AB3 0800                tst.l      [A3 + D0]
  7812. 00004D9C  6728                     beq        +0x2A /* 00004DC6 */
  7813. 00004D9E  2008                     move.l     D0, A0
  7814. 00004DA0  E788                     lsl        D0, 3
  7815. 00004DA2  4AB3 0804                tst.l      [A3 + D0 + 0x4]
  7816. 00004DA6  6604                     bne        +0x6 /* 00004DAC */
  7817. 00004DA8  4A44                     tst.w      D4
  7818. 00004DAA  661A                     bne        +0x1C /* 00004DC6 */
  7819. label00004DAC:
  7820. 00004DAC  4A96                     tst.l      [A6]
  7821. 00004DAE  6710                     beq        +0x12 /* 00004DC0 */
  7822. 00004DB0  2056                     movea.l    A0, [A6]
  7823. 00004DB2  224B                     movea.l    A1, A3
  7824. 00004DB4  3005                     move.w     D0, D5
  7825. 00004DB6  48C0                     ext.l      D0
  7826. 00004DB8  E788                     lsl        D0, 3
  7827. 00004DBA  A02E                     syscall    BlockMove/BlockMoveData
  7828. 00004DBC  2056                     movea.l    A0, [A6]
  7829. 00004DBE  A01F                     syscall    DisposPtr/DisposePtr
  7830. label00004DC0:
  7831. 00004DC0  2C8B                     move.l     [A6], A3
  7832. 00004DC2  7001                     moveq.l    D0, 0x01
  7833. 00004DC4  600A                     bra        +0xC /* 00004DD0 */
  7834. label00004DC6:
  7835. 00004DC6  204B                     movea.l    A0, A3
  7836. 00004DC8  A01F                     syscall    DisposPtr/DisposePtr
  7837. 00004DCA  7000                     moveq.l    D0, 0x00
  7838. 00004DCC  6002                     bra        +0x4 /* 00004DD0 */
  7839. label00004DCE:
  7840. 00004DCE  7000                     moveq.l    D0, 0x00
  7841. label00004DD0:
  7842. 00004DD0  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7843. 00004DD4  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  7844. 00004DD8  4E75                     rts
  7845. fn00004DDA:
  7846. 00004DDA  226F 0004                movea.l    A1, [A7 + 0x4]
  7847. 00004DDE  7000                     moveq.l    D0, 0x00
  7848. 00004DE0  1029 0001                move.b     D0, [A1 + 0x1]
  7849. 00004DE4  7210                     moveq.l    D1, 0x10
  7850. 00004DE6  E3A8                     lsl        D0, D1
  7851. 00004DE8  7200                     moveq.l    D1, 0x00
  7852. 00004DEA  1211                     move.b     D1, [A1]
  7853. 00004DEC  7418                     moveq.l    D2, 0x18
  7854. 00004DEE  E5A9                     lsl        D1, D2
  7855. 00004DF0  D280                     add.l      D1, D0
  7856. 00004DF2  7000                     moveq.l    D0, 0x00
  7857. 00004DF4  1029 0002                move.b     D0, [A1 + 0x2]
  7858. 00004DF8  E188                     lsl        D0, 8
  7859. 00004DFA  D081                     add.l      D0, D1
  7860. 00004DFC  7200                     moveq.l    D1, 0x00
  7861. 00004DFE  1229 0003                move.b     D1, [A1 + 0x3]
  7862. 00004E02  D280                     add.l      D1, D0
  7863. 00004E04  206F 0008                movea.l    A0, [A7 + 0x8]
  7864. 00004E08  2081                     move.l     [A0], D1
  7865. 00004E0A  2049                     movea.l    A0, A1
  7866. 00004E0C  5888                     addq.l     A0, 4
  7867. 00004E0E  4E75                     rts
  7868. fn00004E10:
  7869. 00004E10  226F 0004                movea.l    A1, [A7 + 0x4]
  7870. 00004E14  7000                     moveq.l    D0, 0x00
  7871. 00004E16  1029 0001                move.b     D0, [A1 + 0x1]
  7872. 00004E1A  7200                     moveq.l    D1, 0x00
  7873. 00004E1C  1211                     move.b     D1, [A1]
  7874. 00004E1E  E189                     lsl        D1, 8
  7875. 00004E20  D280                     add.l      D1, D0
  7876. 00004E22  206F 0008                movea.l    A0, [A7 + 0x8]
  7877. 00004E26  3081                     move.w     [A0], D1
  7878. 00004E28  2049                     movea.l    A0, A1
  7879. 00004E2A  5488                     addq.l     A0, 2
  7880. 00004E2C  4E75                     rts
  7881. fn00004E2E:
  7882. 00004E2E  206F 0004                movea.l    A0, [A7 + 0x4]
  7883. 00004E32  226F 0008                movea.l    A1, [A7 + 0x8]
  7884. 00004E36  7201                     moveq.l    D1, 0x01
  7885. 00004E38  5288                     addq.l     A0, 1
  7886. 00004E3A  600A                     bra        +0xC /* 00004E46 */
  7887. label00004E3C:
  7888. 00004E3C  7000                     moveq.l    D0, 0x00
  7889. 00004E3E  3001                     move.w     D0, D1
  7890. 00004E40  1382 0800                move.b     [A1 + D0], D2
  7891. 00004E44  5241                     addq.w     D1, 1
  7892. label00004E46:
  7893. 00004E46  1418                     move.b     D2, [A0]+
  7894. 00004E48  0C02 001D                cmpi.b     D2, 0x1D
  7895. 00004E4C  6706                     beq        +0x8 /* 00004E54 */
  7896. 00004E4E  B26F 000C                cmp.w      D1, [A7 + 0xC]
  7897. 00004E52  65E8                     bcs        -0x16 /* 00004E3C */
  7898. label00004E54:
  7899. 00004E54  7000                     moveq.l    D0, 0x00
  7900. 00004E56  3001                     move.w     D0, D1
  7901. 00004E58  5380                     subq.l     D0, 1
  7902. 00004E5A  1280                     move.b     [A1], D0
  7903. 00004E5C  0C02 001D                cmpi.b     D2, 0x1D
  7904. 00004E60  6706                     beq        +0x8 /* 00004E68 */
  7905. label00004E62:
  7906. 00004E62  0C18 001D                cmpi.b     [A0]+, 0x1D
  7907. 00004E66  66FA                     bne        -0x4 /* 00004E62 */
  7908. label00004E68:
  7909. 00004E68  4E75                     rts
  7910. fn00004E6A:
  7911. 00004E6A  48E7 1030                movem.l    -[A7], D3,A2,A3
  7912. 00004E6E  266F 0014                movea.l    A3, [A7 + 0x14]
  7913. 00004E72  7600                     moveq.l    D3, 0x00
  7914. 00004E74  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  7915. 00004E78  4EBA FE04                jsr        [PC - 0x1FC /* 00004C7E */]
  7916. 00004E7C  2448                     movea.l    A2, A0
  7917. 00004E7E  200A                     move.l     D0, A2
  7918. 00004E80  4A80                     tst.l      D0
  7919. 00004E82  584F                     addq.w     A7, 4
  7920. 00004E84  6732                     beq        +0x34 /* 00004EB8 */
  7921. 00004E86  0C1A 001D                cmpi.b     [A2]+, 0x1D
  7922. 00004E8A  662C                     bne        +0x2E /* 00004EB8 */
  7923. 00004E8C  2F0B                     move.l     -[A7], A3
  7924. 00004E8E  2F0A                     move.l     -[A7], A2
  7925. 00004E90  4EBA FF48                jsr        [PC - 0xB8 /* 00004DDA */]
  7926. 00004E94  2448                     movea.l    A2, A0
  7927. 00004E96  486B 0004                pea.l      [A3 + 0x4]
  7928. 00004E9A  2F0A                     move.l     -[A7], A2
  7929. 00004E9C  4EBA FF72                jsr        [PC - 0x8E /* 00004E10 */]
  7930. 00004EA0  2448                     movea.l    A2, A0
  7931. 00004EA2  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  7932. 00004EA6  486B 0006                pea.l      [A3 + 0x6]
  7933. 00004EAA  2F0A                     move.l     -[A7], A2
  7934. 00004EAC  4EBA FF80                jsr        [PC - 0x80 /* 00004E2E */]
  7935. 00004EB0  2448                     movea.l    A2, A0
  7936. 00004EB2  7601                     moveq.l    D3, 0x01
  7937. 00004EB4  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  7938. label00004EB8:
  7939. 00004EB8  1003                     move.b     D0, D3
  7940. 00004EBA  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7941. 00004EBE  4E75                     rts
  7942. fn00004EC0:
  7943. 00004EC0  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7944. 00004EC4  554F                     subq.w     A7, 2
  7945. 00004EC6  2E2F 002A                move.l     D7, [A7 + 0x2A]
  7946. 00004ECA  4257                     clr.w      [A7]
  7947. 00004ECC  206F 0032                movea.l    A0, [A7 + 0x32]
  7948. 00004ED0  4290                     clr.l      [A0]
  7949. 00004ED2  206F 002E                movea.l    A0, [A7 + 0x2E]
  7950. 00004ED6  4250                     clr.w      [A0]
  7951. 00004ED8  95CA                     sub.l      A2, A2
  7952. 00004EDA  7A00                     moveq.l    D5, 0x00
  7953. 00004EDC  3805                     move.w     D4, D5
  7954. 00004EDE  2047                     movea.l    A0, D7
  7955. 00004EE0  A029                     syscall    HLock
  7956. 00004EE2  594F                     subq.w     A7, 4
  7957. 00004EE4  2047                     movea.l    A0, D7
  7958. 00004EE6  2F10                     move.l     -[A7], [A0]
  7959. 00004EE8  4EAD FF68                jsr        [A5 - 0x98]
  7960. 00004EEC  205F                     movea.l    A0, [A7]+
  7961. 00004EEE  2848                     movea.l    A4, A0
  7962. 00004EF0  594F                     subq.w     A7, 4
  7963. 00004EF2  2F07                     move.l     -[A7], D7
  7964. 00004EF4  4EAD FEB8                jsr        [A5 - 0x148]
  7965. 00004EF8  201F                     move.l     D0, [A7]+
  7966. 00004EFA  204C                     movea.l    A0, A4
  7967. 00004EFC  D1C0                     add.l      A0, D0
  7968. 00004EFE  2608                     move.l     D3, A0
  7969. 00004F00  2C4C                     movea.l    A6, A4
  7970. 00004F02  264C                     movea.l    A3, A4
  7971. 00004F04  606A                     bra        +0x6C /* 00004F70 */
  7972. label00004F06:
  7973. 00004F06  0C13 000A                cmpi.b     [A3], 0xA /* '\n' */
  7974. 00004F0A  6662                     bne        +0x64 /* 00004F6E */
  7975. 00004F0C  B845                     cmp.w      D4, D5
  7976. 00004F0E  6D4A                     blt        +0x4C /* 00004F5A */
  7977. 00004F10  3005                     move.w     D0, D5
  7978. 00004F12  48C0                     ext.l      D0
  7979. 00004F14  0680 0000 0400           addi.l     D0, 0x400
  7980. 00004F1A  E588                     lsl        D0, 2
  7981. 00004F1C  A11E                     syscall    NewPtr, flags=1
  7982. 00004F1E  2C08                     move.l     D6, A0
  7983. 00004F20  4A86                     tst.l      D6
  7984. 00004F22  671E                     beq        +0x20 /* 00004F42 */
  7985. 00004F24  200A                     move.l     D0, A2
  7986. 00004F26  4A80                     tst.l      D0
  7987. 00004F28  6710                     beq        +0x12 /* 00004F3A */
  7988. 00004F2A  3045                     movea.w    A0, D5
  7989. 00004F2C  2008                     move.l     D0, A0
  7990. 00004F2E  E588                     lsl        D0, 2
  7991. 00004F30  204A                     movea.l    A0, A2
  7992. 00004F32  2246                     movea.l    A1, D6
  7993. 00004F34  A02E                     syscall    BlockMove/BlockMoveData
  7994. 00004F36  204A                     movea.l    A0, A2
  7995. 00004F38  A01F                     syscall    DisposPtr/DisposePtr
  7996. label00004F3A:
  7997. 00004F3A  2446                     movea.l    A2, D6
  7998. 00004F3C  0645 0400                addi.w     D5, 0x400
  7999. 00004F40  6018                     bra        +0x1A /* 00004F5A */
  8000. label00004F42:
  8001. 00004F42  554F                     subq.w     A7, 2
  8002. 00004F44  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8003. 00004F48  301F                     move.w     D0, [A7]+
  8004. 00004F4A  3E80                     move.w     [A7], D0
  8005. 00004F4C  200A                     move.l     D0, A2
  8006. 00004F4E  4A80                     tst.l      D0
  8007. 00004F50  6722                     beq        +0x24 /* 00004F74 */
  8008. 00004F52  204A                     movea.l    A0, A2
  8009. 00004F54  A01F                     syscall    DisposPtr/DisposePtr
  8010. 00004F56  95CA                     sub.l      A2, A2
  8011. 00004F58  601A                     bra        +0x1C /* 00004F74 */
  8012. label00004F5A:
  8013. 00004F5A  204E                     movea.l    A0, A6
  8014. 00004F5C  91CC                     sub.l      A0, A4
  8015. 00004F5E  3004                     move.w     D0, D4
  8016. 00004F60  5244                     addq.w     D4, 1
  8017. 00004F62  48C0                     ext.l      D0
  8018. 00004F64  E588                     lsl        D0, 2
  8019. 00004F66  2588 0800                move.l     [A2 + D0], A0
  8020. 00004F6A  2C4B                     movea.l    A6, A3
  8021. 00004F6C  528E                     addq.l     A6, 1
  8022. label00004F6E:
  8023. 00004F6E  528B                     addq.l     A3, 1
  8024. label00004F70:
  8025. 00004F70  B7C3                     cmpa.l     A3, D3
  8026. 00004F72  6592                     bcs        -0x6C /* 00004F06 */
  8027. label00004F74:
  8028. 00004F74  2047                     movea.l    A0, D7
  8029. 00004F76  A02A                     syscall    HUnlock
  8030. 00004F78  200A                     move.l     D0, A2
  8031. 00004F7A  4A80                     tst.l      D0
  8032. 00004F7C  6716                     beq        +0x18 /* 00004F94 */
  8033. 00004F7E  204A                     movea.l    A0, A2
  8034. 00004F80  3004                     move.w     D0, D4
  8035. 00004F82  48C0                     ext.l      D0
  8036. 00004F84  E588                     lsl        D0, 2
  8037. 00004F86  A020                     syscall    SetPtrSize
  8038. 00004F88  206F 0032                movea.l    A0, [A7 + 0x32]
  8039. 00004F8C  208A                     move.l     [A0], A2
  8040. 00004F8E  206F 002E                movea.l    A0, [A7 + 0x2E]
  8041. 00004F92  3084                     move.w     [A0], D4
  8042. label00004F94:
  8043. 00004F94  3017                     move.w     D0, [A7]
  8044. 00004F96  544F                     addq.w     A7, 2
  8045. 00004F98  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8046. 00004F9C  4E75                     rts
  8047. fn00004F9E:
  8048. 00004F9E  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  8049. 00004FA2  246F 0018                movea.l    A2, [A7 + 0x18]
  8050. 00004FA6  362F 001E                move.w     D3, [A7 + 0x1E]
  8051. 00004FAA  2C6F 0020                movea.l    A6, [A7 + 0x20]
  8052. 00004FAE  3043                     movea.w    A0, D3
  8053. 00004FB0  2008                     move.l     D0, A0
  8054. 00004FB2  A11E                     syscall    NewPtr, flags=1
  8055. 00004FB4  2848                     movea.l    A4, A0
  8056. 00004FB6  200C                     move.l     D0, A4
  8057. 00004FB8  4A80                     tst.l      D0
  8058. 00004FBA  6740                     beq        +0x42 /* 00004FFC */
  8059. 00004FBC  302F 001C                move.w     D0, [A7 + 0x1C]
  8060. 00004FC0  48C0                     ext.l      D0
  8061. 00004FC2  5380                     subq.l     D0, 1
  8062. 00004FC4  E588                     lsl        D0, 2
  8063. 00004FC6  2652                     movea.l    A3, [A2]
  8064. 00004FC8  226B 0006                movea.l    A1, [A3 + 0x6]
  8065. 00004FCC  2652                     movea.l    A3, [A2]
  8066. 00004FCE  2653                     movea.l    A3, [A3]
  8067. 00004FD0  2653                     movea.l    A3, [A3]
  8068. 00004FD2  D7F1 0800                add.l      A3, [A1 + D0]
  8069. 00004FD6  244C                     movea.l    A2, A4
  8070. label00004FD8:
  8071. 00004FD8  5343                     subq.w     D3, 1
  8072. 00004FDA  670A                     beq        +0xC /* 00004FE6 */
  8073. 00004FDC  14DB                     move.b     [A2]+, [A3]+
  8074. 00004FDE  0C2A 000A FFFF           cmpi.b     [A2 - 0x1], 0xA /* '\n' */
  8075. 00004FE4  66F2                     bne        -0xC /* 00004FD8 */
  8076. label00004FE6:
  8077. 00004FE6  4A43                     tst.w      D3
  8078. 00004FE8  6F06                     ble        +0x8 /* 00004FF0 */
  8079. 00004FEA  4212                     clr.b      [A2]
  8080. 00004FEC  4256                     clr.w      [A6]
  8081. 00004FEE  6016                     bra        +0x18 /* 00005006 */
  8082. label00004FF0:
  8083. 00004FF0  204C                     movea.l    A0, A4
  8084. 00004FF2  A01F                     syscall    DisposPtr/DisposePtr
  8085. 00004FF4  99CC                     sub.l      A4, A4
  8086. 00004FF6  3CBC 0001                move.w     [A6], 0x1
  8087. 00004FFA  600A                     bra        +0xC /* 00005006 */
  8088. label00004FFC:
  8089. 00004FFC  554F                     subq.w     A7, 2
  8090. 00004FFE  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8091. 00005002  301F                     move.w     D0, [A7]+
  8092. 00005004  3C80                     move.w     [A6], D0
  8093. label00005006:
  8094. 00005006  204C                     movea.l    A0, A4
  8095. 00005008  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8096. 0000500C  4E75                     rts
  8097. fn0000500E:
  8098. 0000500E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  8099. 00005012  554F                     subq.w     A7, 2
  8100. 00005014  266F 0016                movea.l    A3, [A7 + 0x16]
  8101. 00005018  382F 001A                move.w     D4, [A7 + 0x1A]
  8102. 0000501C  95CA                     sub.l      A2, A2
  8103. 0000501E  4A44                     tst.w      D4
  8104. 00005020  6F2C                     ble        +0x2E /* 0000504E */
  8105. 00005022  2053                     movea.l    A0, [A3]
  8106. 00005024  B868 0004                cmp.w      D4, [A0 + 0x4]
  8107. 00005028  6E24                     bgt        +0x26 /* 0000504E */
  8108. 0000502A  363C 0800                move.w     D3, 0x800
  8109. 0000502E  3EBC 0001                move.w     [A7], 0x1
  8110. 00005032  6016                     bra        +0x18 /* 0000504A */
  8111. label00005034:
  8112. 00005034  4857                     pea.l      [A7]
  8113. 00005036  3F03                     move.w     -[A7], D3
  8114. 00005038  3F04                     move.w     -[A7], D4
  8115. 0000503A  2F0B                     move.l     -[A7], A3
  8116. 0000503C  4EBA FF60                jsr        [PC - 0xA0 /* 00004F9E */]
  8117. 00005040  2448                     movea.l    A2, A0
  8118. 00005042  0643 0800                addi.w     D3, 0x800
  8119. 00005046  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8120. label0000504A:
  8121. 0000504A  4A57                     tst.w      [A7]
  8122. 0000504C  6EE6                     bgt        -0x18 /* 00005034 */
  8123. label0000504E:
  8124. 0000504E  204A                     movea.l    A0, A2
  8125. 00005050  544F                     addq.w     A7, 2
  8126. 00005052  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8127. 00005056  4E75                     rts
  8128. fn00005058:
  8129. 00005058  206F 0004                movea.l    A0, [A7 + 0x4]
  8130. 0000505C  0C10 0059                cmpi.b     [A0], 0x59 /* 'Y' */
  8131. 00005060  6604                     bne        +0x6 /* 00005066 */
  8132. 00005062  7001                     moveq.l    D0, 0x01
  8133. 00005064  4E75                     rts
  8134. label00005066:
  8135. 00005066  0C10 004E                cmpi.b     [A0], 0x4E /* 'N' */
  8136. 0000506A  6604                     bne        +0x6 /* 00005070 */
  8137. 0000506C  70FF                     moveq.l    D0, 0xFFFFFFFF
  8138. 0000506E  4E75                     rts
  8139. label00005070:
  8140. 00005070  7000                     moveq.l    D0, 0x00
  8141. 00005072  4E75                     rts
  8142. fn00005074:
  8143. 00005074  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  8144. 00005078  266F 0014                movea.l    A3, [A7 + 0x14]
  8145. 0000507C  7800                     moveq.l    D4, 0x00
  8146. 0000507E  2453                     movea.l    A2, [A3]
  8147. 00005080  1612                     move.b     D3, [A2]
  8148. 00005082  6018                     bra        +0x1A /* 0000509C */
  8149. label00005084:
  8150. 00005084  2004                     move.l     D0, D4
  8151. 00005086  720A                     moveq.l    D1, 0x0A
  8152. 00005088  4EAD FB78                jsr        [A5 - 0x488]
  8153. 0000508C  7200                     moveq.l    D1, 0x00
  8154. 0000508E  1203                     move.b     D1, D3
  8155. 00005090  74D0                     moveq.l    D2, 0xFFFFFFD0
  8156. 00005092  D282                     add.l      D1, D2
  8157. 00005094  D280                     add.l      D1, D0
  8158. 00005096  2801                     move.l     D4, D1
  8159. 00005098  528A                     addq.l     A2, 1
  8160. 0000509A  1612                     move.b     D3, [A2]
  8161. label0000509C:
  8162. 0000509C  7000                     moveq.l    D0, 0x00
  8163. 0000509E  1003                     move.b     D0, D3
  8164. 000050A0  41ED F8B4                lea.l      A0, [A5 - 0x74C]
  8165. 000050A4  1030 0800                move.b     D0, [A0 + D0]
  8166. 000050A8  7210                     moveq.l    D1, 0x10
  8167. 000050AA  C081                     and.l      D0, D1
  8168. 000050AC  66D6                     bne        -0x28 /* 00005084 */
  8169. 000050AE  268A                     move.l     [A3], A2
  8170. 000050B0  2004                     move.l     D0, D4
  8171. 000050B2  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  8172. 000050B6  4E75                     rts
  8173. fn000050B8:
  8174. 000050B8  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  8175. 000050BC  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  8176. 000050C0  203C 0000 00B0           move.l     D0, 0xB0
  8177. 000050C6  A322                     syscall    NewHandleClear, flags=3
  8178. 000050C8  2448                     movea.l    A2, A0
  8179. 000050CA  200A                     move.l     D0, A2
  8180. 000050CC  4A80                     tst.l      D0
  8181. 000050CE  6606                     bne        +0x8 /* 000050D6 */
  8182. 000050D0  91C8                     sub.l      A0, A0
  8183. 000050D2  6000 0586                bra        +0x588 /* 0000565A */
  8184. label000050D6:
  8185. 000050D6  2052                     movea.l    A0, [A2]
  8186. 000050D8  117C 0041 0045           move.b     [A0 + 0x45], 0x41 /* 'A' */
  8187. 000050DE  2F2F 004E                move.l     -[A7], [A7 + 0x4E]
  8188. 000050E2  4EBA FAC8                jsr        [PC - 0x538 /* 00004BAC */]
  8189. 000050E6  2648                     movea.l    A3, A0
  8190. 000050E8  3F3C 7D01                move.w     -[A7], 0x7D01
  8191. 000050EC  2F0B                     move.l     -[A7], A3
  8192. 000050EE  4EBA FA48                jsr        [PC - 0x5B8 /* 00004B38 */]
  8193. 000050F2  3600                     move.w     D3, D0
  8194. 000050F4  4A43                     tst.w      D3
  8195. 000050F6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8196. 000050FA  6604                     bne        +0x6 /* 00005100 */
  8197. 000050FC  70FF                     moveq.l    D0, 0xFFFFFFFF
  8198. 000050FE  6006                     bra        +0x8 /* 00005106 */
  8199. label00005100:
  8200. 00005100  3003                     move.w     D0, D3
  8201. 00005102  48C0                     ext.l      D0
  8202. 00005104  5380                     subq.l     D0, 1
  8203. label00005106:
  8204. 00005106  2052                     movea.l    A0, [A2]
  8205. 00005108  3140 0002                move.w     [A0 + 0x2], D0
  8206. 0000510C  6000 0538                bra        +0x53A /* 00005646 */
  8207. label00005110:
  8208. 00005110  3F3C 7D02                move.w     -[A7], 0x7D02
  8209. 00005114  2F0B                     move.l     -[A7], A3
  8210. 00005116  4EBA FA20                jsr        [PC - 0x5E0 /* 00004B38 */]
  8211. 0000511A  48C0                     ext.l      D0
  8212. 0000511C  5C4F                     addq.w     A7, 6
  8213. 0000511E  0C80 0000 001C           cmpi.l     D0, 0x1C
  8214. 00005124  6200 0520                bhi        +0x522 /* 00005646 */
  8215. 00005128  D040                     add.w      D0, D0
  8216. 0000512A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8217. 0000512E  4EFB 0002                jmp        [PC + D0.w + 0x2]
  8218. 00005132  0514                     btst       [A4], D2
  8219. 00005134  003A 00AC 0514           ori.b      [PC + 0x514 /* 0000564A, value 0xF5 */], 0xAC
  8220. 0000513A  0514                     btst       [A4], D2
  8221. 0000513C  0514                     btst       [A4], D2
  8222. 0000513E  0514                     btst       [A4], D2
  8223. 00005140  0514                     btst       [A4], D2
  8224. 00005142  0514                     btst       [A4], D2
  8225. 00005144  0514                     btst       [A4], D2
  8226. 00005146  012E 013A                btst       [A6 + 0x13A], D0
  8227. 0000514A  0146                     bchg       D6, D0
  8228. 0000514C  0152                     bchg       [A2], D0
  8229. 0000514E  016E 0194                bchg       [A6 + 0x194], D0
  8230. 00005152  01CC                     bset       A4, D0
  8231. 00005154  01F2 02C0                bset       [A2 + D0.w * 2 - 0x64], D0
  8232. 00005158  0302                     btst       D2, D1
  8233. 0000515A  0344                     bchg       D4, D1
  8234. 0000515C  036E 037A                bchg       [A6 + 0x37A], D1
  8235. 00005160  0386                     bclr       D6, D1
  8236. 00005162  03BA 03EE                bclr       [PC + 0x3EE /* 00005552, value 0xA9A0205F */], D1
  8237. 00005166  044C 0470                subi.w     A4, 0x470
  8238. 0000516A  04BE 2F0B 4EBA           subi.l     <<invalid special address>>, 0x2F0B4EBA
  8239. 00005170  FB0E                     .extension 0xB0E // unimplemented
  8240. 00005172  2F48 0032                move.l     [A7 + 0x32], A0
  8241. 00005176  2008                     move.l     D0, A0
  8242. 00005178  584F                     addq.w     A7, 4
  8243. 0000517A  6700 04CA                beq        +0x4CC /* 00005646 */
  8244. 0000517E  203C 0000 0104           move.l     D0, 0x104
  8245. 00005184  A122                     syscall    NewHandle, flags=1
  8246. 00005186  2848                     movea.l    A4, A0
  8247. 00005188  200C                     move.l     D0, A4
  8248. 0000518A  4A80                     tst.l      D0
  8249. 0000518C  6700 04B8                beq        +0x4BA /* 00005646 */
  8250. 00005190  2C54                     movea.l    A6, [A4]
  8251. 00005192  5A8E                     addq.l     A6, 5
  8252. 00005194  52AF 002E                addq.l     [A7 + 0x2E], 1
  8253. 00005198  600A                     bra        +0xC /* 000051A4 */
  8254. label0000519A:
  8255. 0000519A  206F 002E                movea.l    A0, [A7 + 0x2E]
  8256. 0000519E  52AF 002E                addq.l     [A7 + 0x2E], 1
  8257. 000051A2  1CD0                     move.b     [A6]+, [A0]
  8258. label000051A4:
  8259. 000051A4  206F 002E                movea.l    A0, [A7 + 0x2E]
  8260. 000051A8  0C10 001D                cmpi.b     [A0], 0x1D
  8261. 000051AC  66EC                     bne        -0x12 /* 0000519A */
  8262. 000051AE  2054                     movea.l    A0, [A4]
  8263. 000051B0  5A88                     addq.l     A0, 5
  8264. 000051B2  224E                     movea.l    A1, A6
  8265. 000051B4  93C8                     sub.l      A1, A0
  8266. 000051B6  2009                     move.l     D0, A1
  8267. 000051B8  2054                     movea.l    A0, [A4]
  8268. 000051BA  1140 0004                move.b     [A0 + 0x4], D0
  8269. 000051BE  2052                     movea.l    A0, [A2]
  8270. 000051C0  2254                     movea.l    A1, [A4]
  8271. 000051C2  22A8 003C                move.l     [A1], [A0 + 0x3C]
  8272. 000051C6  2052                     movea.l    A0, [A2]
  8273. 000051C8  214C 003C                move.l     [A0 + 0x3C], A4
  8274. 000051CC  2054                     movea.l    A0, [A4]
  8275. 000051CE  7000                     moveq.l    D0, 0x00
  8276. 000051D0  1028 0004                move.b     D0, [A0 + 0x4]
  8277. 000051D4  5A80                     addq.l     D0, 5
  8278. 000051D6  204C                     movea.l    A0, A4
  8279. 000051D8  A024                     syscall    SetHandleSize
  8280. 000051DA  6000 046A                bra        +0x46C /* 00005646 */
  8281. 000051DE  2F0B                     move.l     -[A7], A3
  8282. 000051E0  4EBA FA9C                jsr        [PC - 0x564 /* 00004C7E */]
  8283. 000051E4  2F48 0032                move.l     [A7 + 0x32], A0
  8284. 000051E8  2008                     move.l     D0, A0
  8285. 000051EA  584F                     addq.w     A7, 4
  8286. 000051EC  6700 0458                beq        +0x45A /* 00005646 */
  8287. 000051F0  206F 002E                movea.l    A0, [A7 + 0x2E]
  8288. 000051F4  41E8 0001                lea.l      A0, [A0 + 0x1]
  8289. 000051F8  2252                     movea.l    A1, [A2]
  8290. 000051FA  43E9 0005                lea.l      A1, [A1 + 0x5]
  8291. 000051FE  701F                     moveq.l    D0, 0x1F
  8292. 00005200  A02E                     syscall    BlockMove/BlockMoveData
  8293. 00005202  7600                     moveq.l    D3, 0x00
  8294. 00005204  52AF 002E                addq.l     [A7 + 0x2E], 1
  8295. 00005208  6002                     bra        +0x4 /* 0000520C */
  8296. label0000520A:
  8297. 0000520A  5203                     addq.b     D3, 1
  8298. label0000520C:
  8299. 0000520C  206F 002E                movea.l    A0, [A7 + 0x2E]
  8300. 00005210  52AF 002E                addq.l     [A7 + 0x2E], 1
  8301. 00005214  0C10 001D                cmpi.b     [A0], 0x1D
  8302. 00005218  66F0                     bne        -0xE /* 0000520A */
  8303. 0000521A  2052                     movea.l    A0, [A2]
  8304. 0000521C  1143 0004                move.b     [A0 + 0x4], D3
  8305. 00005220  7800                     moveq.l    D4, 0x00
  8306. 00005222  206F 002E                movea.l    A0, [A7 + 0x2E]
  8307. 00005226  0C10 002F                cmpi.b     [A0], 0x2F /* '/' */
  8308. 0000522A  662A                     bne        +0x2C /* 00005256 */
  8309. 0000522C  52AF 002E                addq.l     [A7 + 0x2E], 1
  8310. 00005230  6010                     bra        +0x12 /* 00005242 */
  8311. label00005232:
  8312. 00005232  700A                     moveq.l    D0, 0x0A
  8313. 00005234  C1C4                     muls.w     D0, D4
  8314. 00005236  7200                     moveq.l    D1, 0x00
  8315. 00005238  1203                     move.b     D1, D3
  8316. 0000523A  74D0                     moveq.l    D2, 0xFFFFFFD0
  8317. 0000523C  D282                     add.l      D1, D2
  8318. 0000523E  D280                     add.l      D1, D0
  8319. 00005240  3801                     move.w     D4, D1
  8320. label00005242:
  8321. 00005242  206F 002E                movea.l    A0, [A7 + 0x2E]
  8322. 00005246  52AF 002E                addq.l     [A7 + 0x2E], 1
  8323. 0000524A  1610                     move.b     D3, [A0]
  8324. 0000524C  4A03                     tst.b      D3
  8325. 0000524E  6706                     beq        +0x8 /* 00005256 */
  8326. 00005250  0C03 002F                cmpi.b     D3, 0x2F /* '/' */
  8327. 00005254  66DC                     bne        -0x22 /* 00005232 */
  8328. label00005256:
  8329. 00005256  2052                     movea.l    A0, [A2]
  8330. 00005258  3144 006A                move.w     [A0 + 0x6A], D4
  8331. 0000525C  6000 03E8                bra        +0x3EA /* 00005646 */
  8332. 00005260  2052                     movea.l    A0, [A2]
  8333. 00005262  117C 0001 0040           move.b     [A0 + 0x40], 0x1
  8334. 00005268  6000 03DC                bra        +0x3DE /* 00005646 */
  8335. 0000526C  2052                     movea.l    A0, [A2]
  8336. 0000526E  117C 0001 0041           move.b     [A0 + 0x41], 0x1
  8337. 00005274  6000 03D0                bra        +0x3D2 /* 00005646 */
  8338. 00005278  2052                     movea.l    A0, [A2]
  8339. 0000527A  117C 0001 0042           move.b     [A0 + 0x42], 0x1
  8340. 00005280  6000 03C4                bra        +0x3C6 /* 00005646 */
  8341. 00005284  2F0B                     move.l     -[A7], A3
  8342. 00005286  4EBA F9F6                jsr        [PC - 0x60A /* 00004C7E */]
  8343. 0000528A  2F48 0032                move.l     [A7 + 0x32], A0
  8344. 0000528E  2008                     move.l     D0, A0
  8345. 00005290  584F                     addq.w     A7, 4
  8346. 00005292  6700 03B2                beq        +0x3B4 /* 00005646 */
  8347. 00005296  2252                     movea.l    A1, [A2]
  8348. 00005298  1350 0045                move.b     [A1 + 0x45], [A0]
  8349. 0000529C  6000 03A8                bra        +0x3AA /* 00005646 */
  8350. 000052A0  2F0B                     move.l     -[A7], A3
  8351. 000052A2  4EBA F9DA                jsr        [PC - 0x626 /* 00004C7E */]
  8352. 000052A6  2F48 0032                move.l     [A7 + 0x32], A0
  8353. 000052AA  2008                     move.l     D0, A0
  8354. 000052AC  584F                     addq.w     A7, 4
  8355. 000052AE  6700 0396                beq        +0x398 /* 00005646 */
  8356. 000052B2  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  8357. 000052B6  4EBA FDA0                jsr        [PC - 0x260 /* 00005058 */]
  8358. 000052BA  2052                     movea.l    A0, [A2]
  8359. 000052BC  3140 0046                move.w     [A0 + 0x46], D0
  8360. 000052C0  584F                     addq.w     A7, 4
  8361. 000052C2  6000 0382                bra        +0x384 /* 00005646 */
  8362. 000052C6  2F0B                     move.l     -[A7], A3
  8363. 000052C8  4EBA F9B4                jsr        [PC - 0x64C /* 00004C7E */]
  8364. 000052CC  2F48 0032                move.l     [A7 + 0x32], A0
  8365. 000052D0  2008                     move.l     D0, A0
  8366. 000052D2  584F                     addq.w     A7, 4
  8367. 000052D4  6700 0370                beq        +0x372 /* 00005646 */
  8368. 000052D8  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  8369. 000052DC  4EBA FD7A                jsr        [PC - 0x286 /* 00005058 */]
  8370. 000052E0  2052                     movea.l    A0, [A2]
  8371. 000052E2  3140 0048                move.w     [A0 + 0x48], D0
  8372. 000052E6  206F 0032                movea.l    A0, [A7 + 0x32]
  8373. 000052EA  4868 0002                pea.l      [A0 + 0x2]
  8374. 000052EE  4EBA FD68                jsr        [PC - 0x298 /* 00005058 */]
  8375. 000052F2  2052                     movea.l    A0, [A2]
  8376. 000052F4  3140 004A                move.w     [A0 + 0x4A], D0
  8377. 000052F8  504F                     addq.w     A7, 8
  8378. 000052FA  6000 034A                bra        +0x34C /* 00005646 */
  8379. 000052FE  2F0B                     move.l     -[A7], A3
  8380. 00005300  4EBA F97C                jsr        [PC - 0x684 /* 00004C7E */]
  8381. 00005304  2F48 0032                move.l     [A7 + 0x32], A0
  8382. 00005308  2008                     move.l     D0, A0
  8383. 0000530A  584F                     addq.w     A7, 4
  8384. 0000530C  6700 0338                beq        +0x33A /* 00005646 */
  8385. 00005310  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  8386. 00005314  4EBA FD42                jsr        [PC - 0x2BE /* 00005058 */]
  8387. 00005318  2052                     movea.l    A0, [A2]
  8388. 0000531A  3140 004C                move.w     [A0 + 0x4C], D0
  8389. 0000531E  584F                     addq.w     A7, 4
  8390. 00005320  6000 0324                bra        +0x326 /* 00005646 */
  8391. 00005324  2F0B                     move.l     -[A7], A3
  8392. 00005326  4EBA F956                jsr        [PC - 0x6AA /* 00004C7E */]
  8393. 0000532A  2F48 0032                move.l     [A7 + 0x32], A0
  8394. 0000532E  2008                     move.l     D0, A0
  8395. 00005330  584F                     addq.w     A7, 4
  8396. 00005332  6700 0312                beq        +0x314 /* 00005646 */
  8397. 00005336  0C10 004E                cmpi.b     [A0], 0x4E /* 'N' */
  8398. 0000533A  6614                     bne        +0x16 /* 00005350 */
  8399. 0000533C  2052                     movea.l    A0, [A2]
  8400. 0000533E  42A8 004E                clr.l      [A0 + 0x4E]
  8401. 00005342  2052                     movea.l    A0, [A2]
  8402. 00005344  70FF                     moveq.l    D0, 0xFFFFFFFF
  8403. 00005346  2140 0052                move.l     [A0 + 0x52], D0
  8404. 0000534A  54AF 002E                addq.l     [A7 + 0x2E], 2
  8405. 0000534E  6042                     bra        +0x44 /* 00005392 */
  8406. label00005350:
  8407. 00005350  0C10 0041                cmpi.b     [A0], 0x41 /* 'A' */
  8408. 00005354  6616                     bne        +0x18 /* 0000536C */
  8409. 00005356  2052                     movea.l    A0, [A2]
  8410. 00005358  42A8 004E                clr.l      [A0 + 0x4E]
  8411. 0000535C  2052                     movea.l    A0, [A2]
  8412. 0000535E  217C 0000 00FF 0052      move.l     [A0 + 0x52], 0xFF
  8413. 00005366  54AF 002E                addq.l     [A7 + 0x2E], 2
  8414. 0000536A  6026                     bra        +0x28 /* 00005392 */
  8415. label0000536C:
  8416. 0000536C  486F 002E                pea.l      [A7 + 0x2E]
  8417. 00005370  4EBA FD02                jsr        [PC - 0x2FE /* 00005074 */]
  8418. 00005374  2052                     movea.l    A0, [A2]
  8419. 00005376  2140 004E                move.l     [A0 + 0x4E], D0
  8420. 0000537A  52AF 0032                addq.l     [A7 + 0x32], 1
  8421. 0000537E  486F 0032                pea.l      [A7 + 0x32]
  8422. 00005382  4EBA FCF0                jsr        [PC - 0x310 /* 00005074 */]
  8423. 00005386  2052                     movea.l    A0, [A2]
  8424. 00005388  2140 0052                move.l     [A0 + 0x52], D0
  8425. 0000538C  52AF 0036                addq.l     [A7 + 0x36], 1
  8426. 00005390  504F                     addq.w     A7, 8
  8427. label00005392:
  8428. 00005392  206F 002E                movea.l    A0, [A7 + 0x2E]
  8429. 00005396  0C10 004E                cmpi.b     [A0], 0x4E /* 'N' */
  8430. 0000539A  6612                     bne        +0x14 /* 000053AE */
  8431. 0000539C  2052                     movea.l    A0, [A2]
  8432. 0000539E  42A8 0056                clr.l      [A0 + 0x56]
  8433. 000053A2  2052                     movea.l    A0, [A2]
  8434. 000053A4  70FF                     moveq.l    D0, 0xFFFFFFFF
  8435. 000053A6  2140 005A                move.l     [A0 + 0x5A], D0
  8436. 000053AA  6000 029A                bra        +0x29C /* 00005646 */
  8437. label000053AE:
  8438. 000053AE  0C10 0041                cmpi.b     [A0], 0x41 /* 'A' */
  8439. 000053B2  6618                     bne        +0x1A /* 000053CC */
  8440. 000053B4  2052                     movea.l    A0, [A2]
  8441. 000053B6  217C 0000 0100 0056      move.l     [A0 + 0x56], 0x100
  8442. 000053BE  2052                     movea.l    A0, [A2]
  8443. 000053C0  217C 0000 01FF 005A      move.l     [A0 + 0x5A], 0x1FF
  8444. 000053C8  6000 027C                bra        +0x27E /* 00005646 */
  8445. label000053CC:
  8446. 000053CC  486F 002E                pea.l      [A7 + 0x2E]
  8447. 000053D0  4EBA FCA2                jsr        [PC - 0x35E /* 00005074 */]
  8448. 000053D4  2052                     movea.l    A0, [A2]
  8449. 000053D6  2140 0056                move.l     [A0 + 0x56], D0
  8450. 000053DA  52AF 0032                addq.l     [A7 + 0x32], 1
  8451. 000053DE  486F 0032                pea.l      [A7 + 0x32]
  8452. 000053E2  4EBA FC90                jsr        [PC - 0x370 /* 00005074 */]
  8453. 000053E6  2052                     movea.l    A0, [A2]
  8454. 000053E8  2140 005A                move.l     [A0 + 0x5A], D0
  8455. 000053EC  504F                     addq.w     A7, 8
  8456. 000053EE  6000 0256                bra        +0x258 /* 00005646 */
  8457. 000053F2  2F0B                     move.l     -[A7], A3
  8458. 000053F4  4EBA F888                jsr        [PC - 0x778 /* 00004C7E */]
  8459. 000053F8  2F48 0032                move.l     [A7 + 0x32], A0
  8460. 000053FC  2008                     move.l     D0, A0
  8461. 000053FE  584F                     addq.w     A7, 4
  8462. 00005400  6700 0244                beq        +0x246 /* 00005646 */
  8463. 00005404  7000                     moveq.l    D0, 0x00
  8464. 00005406  1028 0002                move.b     D0, [A0 + 0x2]
  8465. 0000540A  72D0                     moveq.l    D1, 0xFFFFFFD0
  8466. 0000540C  D081                     add.l      D0, D1
  8467. 0000540E  E188                     lsl        D0, 8
  8468. 00005410  7200                     moveq.l    D1, 0x00
  8469. 00005412  1210                     move.b     D1, [A0]
  8470. 00005414  74D0                     moveq.l    D2, 0xFFFFFFD0
  8471. 00005416  D282                     add.l      D1, D2
  8472. 00005418  7410                     moveq.l    D2, 0x10
  8473. 0000541A  E5A9                     lsl        D1, D2
  8474. 0000541C  8280                     or.l       D1, D0
  8475. 0000541E  7000                     moveq.l    D0, 0x00
  8476. 00005420  1028 0004                move.b     D0, [A0 + 0x4]
  8477. 00005424  74D0                     moveq.l    D2, 0xFFFFFFD0
  8478. 00005426  D082                     add.l      D0, D2
  8479. 00005428  8081                     or.l       D0, D1
  8480. 0000542A  2052                     movea.l    A0, [A2]
  8481. 0000542C  2140 005E                move.l     [A0 + 0x5E], D0
  8482. 00005430  6000 0214                bra        +0x216 /* 00005646 */
  8483. 00005434  2F0B                     move.l     -[A7], A3
  8484. 00005436  4EBA F846                jsr        [PC - 0x7BA /* 00004C7E */]
  8485. 0000543A  2F48 0032                move.l     [A7 + 0x32], A0
  8486. 0000543E  2008                     move.l     D0, A0
  8487. 00005440  584F                     addq.w     A7, 4
  8488. 00005442  6700 0202                beq        +0x204 /* 00005646 */
  8489. 00005446  7000                     moveq.l    D0, 0x00
  8490. 00005448  1028 0002                move.b     D0, [A0 + 0x2]
  8491. 0000544C  72D0                     moveq.l    D1, 0xFFFFFFD0
  8492. 0000544E  D081                     add.l      D0, D1
  8493. 00005450  E188                     lsl        D0, 8
  8494. 00005452  7200                     moveq.l    D1, 0x00
  8495. 00005454  1210                     move.b     D1, [A0]
  8496. 00005456  74D0                     moveq.l    D2, 0xFFFFFFD0
  8497. 00005458  D282                     add.l      D1, D2
  8498. 0000545A  7410                     moveq.l    D2, 0x10
  8499. 0000545C  E5A9                     lsl        D1, D2
  8500. 0000545E  8280                     or.l       D1, D0
  8501. 00005460  7000                     moveq.l    D0, 0x00
  8502. 00005462  1028 0004                move.b     D0, [A0 + 0x4]
  8503. 00005466  74D0                     moveq.l    D2, 0xFFFFFFD0
  8504. 00005468  D082                     add.l      D0, D2
  8505. 0000546A  8081                     or.l       D0, D1
  8506. 0000546C  2052                     movea.l    A0, [A2]
  8507. 0000546E  2140 0062                move.l     [A0 + 0x62], D0
  8508. 00005472  6000 01D2                bra        +0x1D4 /* 00005646 */
  8509. 00005476  2F0B                     move.l     -[A7], A3
  8510. 00005478  4EBA F804                jsr        [PC - 0x7FC /* 00004C7E */]
  8511. 0000547C  2F48 0032                move.l     [A7 + 0x32], A0
  8512. 00005480  2008                     move.l     D0, A0
  8513. 00005482  584F                     addq.w     A7, 4
  8514. 00005484  6700 01C0                beq        +0x1C2 /* 00005646 */
  8515. 00005488  486F 002E                pea.l      [A7 + 0x2E]
  8516. 0000548C  4EBA FBE6                jsr        [PC - 0x41A /* 00005074 */]
  8517. 00005490  720A                     moveq.l    D1, 0x0A
  8518. 00005492  E3A8                     lsl        D0, D1
  8519. 00005494  2052                     movea.l    A0, [A2]
  8520. 00005496  2140 0066                move.l     [A0 + 0x66], D0
  8521. 0000549A  584F                     addq.w     A7, 4
  8522. 0000549C  6000 01A8                bra        +0x1AA /* 00005646 */
  8523. 000054A0  2052                     movea.l    A0, [A2]
  8524. 000054A2  117C 0001 0043           move.b     [A0 + 0x43], 0x1
  8525. 000054A8  6000 019C                bra        +0x19E /* 00005646 */
  8526. 000054AC  2052                     movea.l    A0, [A2]
  8527. 000054AE  117C 0001 0044           move.b     [A0 + 0x44], 0x1
  8528. 000054B4  6000 0190                bra        +0x192 /* 00005646 */
  8529. 000054B8  2052                     movea.l    A0, [A2]
  8530. 000054BA  2F68 0070 002A           move.l     [A7 + 0x2A], [A0 + 0x70]
  8531. 000054C0  2052                     movea.l    A0, [A2]
  8532. 000054C2  3F28 006E                move.w     -[A7], [A0 + 0x6E]
  8533. 000054C6  486F 002C                pea.l      [A7 + 0x2C]
  8534. 000054CA  2F0B                     move.l     -[A7], A3
  8535. 000054CC  4EBA F7D6                jsr        [PC - 0x82A /* 00004CA4 */]
  8536. 000054D0  4A00                     tst.b      D0
  8537. 000054D2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8538. 000054D6  6700 016E                beq        +0x170 /* 00005646 */
  8539. 000054DA  2052                     movea.l    A0, [A2]
  8540. 000054DC  216F 002A 0070           move.l     [A0 + 0x70], [A7 + 0x2A]
  8541. 000054E2  2052                     movea.l    A0, [A2]
  8542. 000054E4  52A8 006C                addq.l     [A0 + 0x6C], 1
  8543. 000054E8  6000 015C                bra        +0x15E /* 00005646 */
  8544. 000054EC  2052                     movea.l    A0, [A2]
  8545. 000054EE  2F68 0078 0026           move.l     [A7 + 0x26], [A0 + 0x78]
  8546. 000054F4  2052                     movea.l    A0, [A2]
  8547. 000054F6  3F28 0076                move.w     -[A7], [A0 + 0x76]
  8548. 000054FA  486F 0028                pea.l      [A7 + 0x28]
  8549. 000054FE  2F0B                     move.l     -[A7], A3
  8550. 00005500  4EBA F7A2                jsr        [PC - 0x85E /* 00004CA4 */]
  8551. 00005504  4A00                     tst.b      D0
  8552. 00005506  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8553. 0000550A  6700 013A                beq        +0x13C /* 00005646 */
  8554. 0000550E  2052                     movea.l    A0, [A2]
  8555. 00005510  216F 0026 0078           move.l     [A0 + 0x78], [A7 + 0x26]
  8556. 00005516  2052                     movea.l    A0, [A2]
  8557. 00005518  52A8 0074                addq.l     [A0 + 0x74], 1
  8558. 0000551C  6000 0128                bra        +0x12A /* 00005646 */
  8559. 00005520  2F0B                     move.l     -[A7], A3
  8560. 00005522  4EBA F75A                jsr        [PC - 0x8A6 /* 00004C7E */]
  8561. 00005526  2F48 0032                move.l     [A7 + 0x32], A0
  8562. 0000552A  2008                     move.l     D0, A0
  8563. 0000552C  584F                     addq.w     A7, 4
  8564. 0000552E  6700 0116                beq        +0x118 /* 00005646 */
  8565. 00005532  486F 002E                pea.l      [A7 + 0x2E]
  8566. 00005536  4EBA FB3C                jsr        [PC - 0x4C4 /* 00005074 */]
  8567. 0000553A  3600                     move.w     D3, D0
  8568. 0000553C  7800                     moveq.l    D4, 0x00
  8569. 0000553E  4A43                     tst.w      D3
  8570. 00005540  584F                     addq.w     A7, 4
  8571. 00005542  6604                     bne        +0x6 /* 00005548 */
  8572. 00005544  91C8                     sub.l      A0, A0
  8573. 00005546  600E                     bra        +0x10 /* 00005556 */
  8574. label00005548:
  8575. 00005548  594F                     subq.w     A7, 4
  8576. 0000554A  2F3C B653 7263           move.l     -[A7], 0xB6537263
  8577. 00005550  3F03                     move.w     -[A7], D3
  8578. 00005552  A9A0                     syscall    GetResource
  8579. 00005554  205F                     movea.l    A0, [A7]+
  8580. label00005556:
  8581. 00005556  2848                     movea.l    A4, A0
  8582. 00005558  200C                     move.l     D0, A4
  8583. 0000555A  4A80                     tst.l      D0
  8584. 0000555C  6700 00E8                beq        +0xEA /* 00005646 */
  8585. 00005560  52AF 002E                addq.l     [A7 + 0x2E], 1
  8586. 00005564  486F 002E                pea.l      [A7 + 0x2E]
  8587. 00005568  4EBA FB0A                jsr        [PC - 0x4F6 /* 00005074 */]
  8588. 0000556C  3800                     move.w     D4, D0
  8589. 0000556E  2054                     movea.l    A0, [A4]
  8590. 00005570  D0C4                     add.w      A0, D4
  8591. 00005572  2252                     movea.l    A1, [A2]
  8592. 00005574  2348 007C                move.l     [A1 + 0x7C], A0
  8593. 00005578  584F                     addq.w     A7, 4
  8594. 0000557A  6000 00CA                bra        +0xCC /* 00005646 */
  8595. 0000557E  4857                     pea.l      [A7]
  8596. 00005580  2F0B                     move.l     -[A7], A3
  8597. 00005582  4EBA F8E6                jsr        [PC - 0x71A /* 00004E6A */]
  8598. 00005586  4A00                     tst.b      D0
  8599. 00005588  504F                     addq.w     A7, 8
  8600. 0000558A  6700 00BA                beq        +0xBC /* 00005646 */
  8601. 0000558E  2052                     movea.l    A0, [A2]
  8602. 00005590  43D7                     lea.l      A1, [A7]
  8603. 00005592  41E8 0080                lea.l      A0, [A0 + 0x80]
  8604. 00005596  7012                     moveq.l    D0, 0x12
  8605. label00005598:
  8606. 00005598  30D9                     move.w     [A0]+, [A1]+
  8607. 0000559A  51C8 FFFC                dbf        D0, -0x6 /* 00005598 */
  8608. 0000559E  6000 00A6                bra        +0xA8 /* 00005646 */
  8609. 000055A2  2052                     movea.l    A0, [A2]
  8610. 000055A4  117C 0001 00A6           move.b     [A0 + 0xA6], 0x1
  8611. 000055AA  2F0B                     move.l     -[A7], A3
  8612. 000055AC  4EBA F6D0                jsr        [PC - 0x930 /* 00004C7E */]
  8613. 000055B0  2F48 0032                move.l     [A7 + 0x32], A0
  8614. 000055B4  2008                     move.l     D0, A0
  8615. 000055B6  584F                     addq.w     A7, 4
  8616. 000055B8  6724                     beq        +0x26 /* 000055DE */
  8617. 000055BA  486F 002E                pea.l      [A7 + 0x2E]
  8618. 000055BE  4EBA FAB4                jsr        [PC - 0x54C /* 00005074 */]
  8619. 000055C2  2052                     movea.l    A0, [A2]
  8620. 000055C4  3140 00AA                move.w     [A0 + 0xAA], D0
  8621. 000055C8  52AF 0032                addq.l     [A7 + 0x32], 1
  8622. 000055CC  486F 0032                pea.l      [A7 + 0x32]
  8623. 000055D0  4EBA FAA2                jsr        [PC - 0x55E /* 00005074 */]
  8624. 000055D4  2052                     movea.l    A0, [A2]
  8625. 000055D6  3140 00A8                move.w     [A0 + 0xA8], D0
  8626. 000055DA  504F                     addq.w     A7, 8
  8627. 000055DC  6068                     bra        +0x6A /* 00005646 */
  8628. label000055DE:
  8629. 000055DE  2052                     movea.l    A0, [A2]
  8630. 000055E0  317C FFFF 00AA           move.w     [A0 + 0xAA], 0xFFFF
  8631. 000055E6  2052                     movea.l    A0, [A2]
  8632. 000055E8  317C FFFF 00A8           move.w     [A0 + 0xA8], 0xFFFF
  8633. 000055EE  6056                     bra        +0x58 /* 00005646 */
  8634. 000055F0  2F0B                     move.l     -[A7], A3
  8635. 000055F2  4EBA F68A                jsr        [PC - 0x976 /* 00004C7E */]
  8636. 000055F6  2F48 0032                move.l     [A7 + 0x32], A0
  8637. 000055FA  2008                     move.l     D0, A0
  8638. 000055FC  584F                     addq.w     A7, 4
  8639. 000055FE  6746                     beq        +0x48 /* 00005646 */
  8640. 00005600  486F 002E                pea.l      [A7 + 0x2E]
  8641. 00005604  4EBA FA6E                jsr        [PC - 0x592 /* 00005074 */]
  8642. 00005608  3600                     move.w     D3, D0
  8643. 0000560A  7800                     moveq.l    D4, 0x00
  8644. 0000560C  4A43                     tst.w      D3
  8645. 0000560E  584F                     addq.w     A7, 4
  8646. 00005610  6604                     bne        +0x6 /* 00005616 */
  8647. 00005612  91C8                     sub.l      A0, A0
  8648. 00005614  600E                     bra        +0x10 /* 00005624 */
  8649. label00005616:
  8650. 00005616  594F                     subq.w     A7, 4
  8651. 00005618  2F3C B649 6E66           move.l     -[A7], 0xB6496E66
  8652. 0000561E  3F03                     move.w     -[A7], D3
  8653. 00005620  A9A0                     syscall    GetResource
  8654. 00005622  205F                     movea.l    A0, [A7]+
  8655. label00005624:
  8656. 00005624  2848                     movea.l    A4, A0
  8657. 00005626  200C                     move.l     D0, A4
  8658. 00005628  4A80                     tst.l      D0
  8659. 0000562A  671A                     beq        +0x1C /* 00005646 */
  8660. 0000562C  52AF 002E                addq.l     [A7 + 0x2E], 1
  8661. 00005630  486F 002E                pea.l      [A7 + 0x2E]
  8662. 00005634  4EBA FA3E                jsr        [PC - 0x5C2 /* 00005074 */]
  8663. 00005638  3800                     move.w     D4, D0
  8664. 0000563A  2054                     movea.l    A0, [A4]
  8665. 0000563C  D0C4                     add.w      A0, D4
  8666. 0000563E  2252                     movea.l    A1, [A2]
  8667. 00005640  2348 00AC                move.l     [A1 + 0xAC], A0
  8668. 00005644  584F                     addq.w     A7, 4
  8669. label00005646:
  8670. 00005646  2F0B                     move.l     -[A7], A3
  8671. 00005648  4EBA F5CA                jsr        [PC - 0xA36 /* 00004C14 */]
  8672. 0000564C  2648                     movea.l    A3, A0
  8673. 0000564E  2008                     move.l     D0, A0
  8674. 00005650  4A80                     tst.l      D0
  8675. 00005652  584F                     addq.w     A7, 4
  8676. 00005654  6600 FABA                bne        -0x544 /* 00005110 */
  8677. 00005658  204A                     movea.l    A0, A2
  8678. label0000565A:
  8679. 0000565A  4FEF 0032                lea.l      A7, [A7 + 0x32]
  8680. 0000565E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  8681. 00005662  4E75                     rts
  8682. fn00005664:
  8683. 00005664  48E7 1030                movem.l    -[A7], D3,A2,A3
  8684. 00005668  5D4F                     subq.w     A7, 6
  8685. 0000566A  95CA                     sub.l      A2, A2
  8686. 0000566C  7600                     moveq.l    D3, 0x00
  8687. 0000566E  42AF 0002                clr.l      [A7 + 0x2]
  8688. 00005672  97CB                     sub.l      A3, A3
  8689. 00005674  594F                     subq.w     A7, 4
  8690. 00005676  2F3C B653 6372           move.l     -[A7], 0xB6536372
  8691. 0000567C  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  8692. 00005680  A9A0                     syscall    GetResource
  8693. 00005682  205F                     movea.l    A0, [A7]+
  8694. 00005684  2648                     movea.l    A3, A0
  8695. 00005686  554F                     subq.w     A7, 2
  8696. 00005688  A9AF                     syscall    ResError
  8697. 0000568A  301F                     move.w     D0, [A7]+
  8698. 0000568C  3600                     move.w     D3, D0
  8699. 0000568E  4A43                     tst.w      D3
  8700. 00005690  660A                     bne        +0xC /* 0000569C */
  8701. 00005692  200B                     move.l     D0, A3
  8702. 00005694  4A80                     tst.l      D0
  8703. 00005696  6604                     bne        +0x6 /* 0000569C */
  8704. 00005698  363C FF40                move.w     D3, 0xFF40
  8705. label0000569C:
  8706. 0000569C  4A43                     tst.w      D3
  8707. 0000569E  661A                     bne        +0x1C /* 000056BA */
  8708. 000056A0  204B                     movea.l    A0, A3
  8709. 000056A2  A04A                     syscall    HNoPurge
  8710. 000056A4  594F                     subq.w     A7, 4
  8711. 000056A6  2F0B                     move.l     -[A7], A3
  8712. 000056A8  4EAD FEB8                jsr        [A5 - 0x148]
  8713. 000056AC  201F                     move.l     D0, [A7]+
  8714. 000056AE  2600                     move.l     D3, D0
  8715. 000056B0  554F                     subq.w     A7, 2
  8716. 000056B2  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8717. 000056B6  301F                     move.w     D0, [A7]+
  8718. 000056B8  3600                     move.w     D3, D0
  8719. label000056BA:
  8720. 000056BA  4A43                     tst.w      D3
  8721. 000056BC  6610                     bne        +0x12 /* 000056CE */
  8722. 000056BE  700A                     moveq.l    D0, 0x0A
  8723. 000056C0  A122                     syscall    NewHandle, flags=1
  8724. 000056C2  2448                     movea.l    A2, A0
  8725. 000056C4  554F                     subq.w     A7, 2
  8726. 000056C6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8727. 000056CA  301F                     move.w     D0, [A7]+
  8728. 000056CC  3600                     move.w     D3, D0
  8729. label000056CE:
  8730. 000056CE  4A43                     tst.w      D3
  8731. 000056D0  6614                     bne        +0x16 /* 000056E6 */
  8732. 000056D2  486F 0002                pea.l      [A7 + 0x2]
  8733. 000056D6  486F 0004                pea.l      [A7 + 0x4]
  8734. 000056DA  2F0B                     move.l     -[A7], A3
  8735. 000056DC  4EBA F7E2                jsr        [PC - 0x81E /* 00004EC0 */]
  8736. 000056E0  3600                     move.w     D3, D0
  8737. 000056E2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8738. label000056E6:
  8739. 000056E6  4A43                     tst.w      D3
  8740. 000056E8  6612                     bne        +0x14 /* 000056FC */
  8741. 000056EA  2052                     movea.l    A0, [A2]
  8742. 000056EC  208B                     move.l     [A0], A3
  8743. 000056EE  2052                     movea.l    A0, [A2]
  8744. 000056F0  3157 0004                move.w     [A0 + 0x4], [A7]
  8745. 000056F4  2052                     movea.l    A0, [A2]
  8746. 000056F6  216F 0002 0006           move.l     [A0 + 0x6], [A7 + 0x2]
  8747. label000056FC:
  8748. 000056FC  4A43                     tst.w      D3
  8749. 000056FE  671A                     beq        +0x1C /* 0000571A */
  8750. 00005700  4AAF 0002                tst.l      [A7 + 0x2]
  8751. 00005704  670A                     beq        +0xC /* 00005710 */
  8752. 00005706  206F 0002                movea.l    A0, [A7 + 0x2]
  8753. 0000570A  A01F                     syscall    DisposPtr/DisposePtr
  8754. 0000570C  42AF 0002                clr.l      [A7 + 0x2]
  8755. label00005710:
  8756. 00005710  200A                     move.l     D0, A2
  8757. 00005712  6706                     beq        +0x8 /* 0000571A */
  8758. 00005714  204A                     movea.l    A0, A2
  8759. 00005716  A023                     syscall    DisposHandle/DisposeHandle
  8760. 00005718  95CA                     sub.l      A2, A2
  8761. label0000571A:
  8762. 0000571A  204A                     movea.l    A0, A2
  8763. 0000571C  5C4F                     addq.w     A7, 6
  8764. 0000571E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8765. 00005722  4E75                     rts
  8766. fn00005724:
  8767. 00005724  2F0A                     move.l     -[A7], A2
  8768. 00005726  246F 0008                movea.l    A2, [A7 + 0x8]
  8769. 0000572A  2052                     movea.l    A0, [A2]
  8770. 0000572C  4AA8 0006                tst.l      [A0 + 0x6]
  8771. 00005730  6708                     beq        +0xA /* 0000573A */
  8772. 00005732  2052                     movea.l    A0, [A2]
  8773. 00005734  2068 0006                movea.l    A0, [A0 + 0x6]
  8774. 00005738  A01F                     syscall    DisposPtr/DisposePtr
  8775. label0000573A:
  8776. 0000573A  204A                     movea.l    A0, A2
  8777. 0000573C  A023                     syscall    DisposHandle/DisposeHandle
  8778. 0000573E  245F                     movea.l    A2, [A7]+
  8779. 00005740  4E75                     rts
  8780. fn00005742:
  8781. 00005742  48E7 0018                movem.l    -[A7], A3,A4
  8782. 00005746  286F 0010                movea.l    A4, [A7 + 0x10]
  8783. 0000574A  266F 000C                movea.l    A3, [A7 + 0xC]
  8784. 0000574E  226D F706                movea.l    A1, [A5 - 0x8FA]
  8785. 00005752  6026                     bra        +0x28 /* 0000577A */
  8786. label00005754:
  8787. 00005754  2051                     movea.l    A0, [A1]
  8788. 00005756  2028 0004                move.l     D0, [A0 + 0x4]
  8789. 0000575A  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  8790. 0000575E  6616                     bne        +0x18 /* 00005776 */
  8791. 00005760  200C                     move.l     D0, A4
  8792. 00005762  6706                     beq        +0x8 /* 0000576A */
  8793. 00005764  2051                     movea.l    A0, [A1]
  8794. 00005766  28A8 0008                move.l     [A4], [A0 + 0x8]
  8795. label0000576A:
  8796. 0000576A  200B                     move.l     D0, A3
  8797. 0000576C  6712                     beq        +0x14 /* 00005780 */
  8798. 0000576E  2051                     movea.l    A0, [A1]
  8799. 00005770  26A8 000C                move.l     [A3], [A0 + 0xC]
  8800. 00005774  600A                     bra        +0xC /* 00005780 */
  8801. label00005776:
  8802. 00005776  2051                     movea.l    A0, [A1]
  8803. 00005778  2250                     movea.l    A1, [A0]
  8804. label0000577A:
  8805. 0000577A  2009                     move.l     D0, A1
  8806. 0000577C  4A80                     tst.l      D0
  8807. 0000577E  66D4                     bne        -0x2A /* 00005754 */
  8808. label00005780:
  8809. 00005780  2009                     move.l     D0, A1
  8810. 00005782  4A80                     tst.l      D0
  8811. 00005784  660C                     bne        +0xE /* 00005792 */
  8812. 00005786  200C                     move.l     D0, A4
  8813. 00005788  6702                     beq        +0x4 /* 0000578C */
  8814. 0000578A  4294                     clr.l      [A4]
  8815. label0000578C:
  8816. 0000578C  200B                     move.l     D0, A3
  8817. 0000578E  6702                     beq        +0x4 /* 00005792 */
  8818. 00005790  4293                     clr.l      [A3]
  8819. label00005792:
  8820. 00005792  4CDF 1800                movem.l    A3,A4, [A7]+
  8821. 00005796  205F                     movea.l    A0, [A7]+
  8822. 00005798  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8823. 0000579C  4ED0                     jmp        [A0]
  8824. 0000579E  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  8825. 000057A2  282F 0020                move.l     D4, [A7 + 0x20]
  8826. 000057A6  286F 001C                movea.l    A4, [A7 + 0x1C]
  8827. 000057AA  262F 0018                move.l     D3, [A7 + 0x18]
  8828. 000057AE  246D F706                movea.l    A2, [A5 - 0x8FA]
  8829. 000057B2  97CB                     sub.l      A3, A3
  8830. 000057B4  601C                     bra        +0x1E /* 000057D2 */
  8831. label000057B6:
  8832. 000057B6  2052                     movea.l    A0, [A2]
  8833. 000057B8  B8A8 0004                cmp.l      D4, [A0 + 0x4]
  8834. 000057BC  660E                     bne        +0x10 /* 000057CC */
  8835. 000057BE  2052                     movea.l    A0, [A2]
  8836. 000057C0  214C 0008                move.l     [A0 + 0x8], A4
  8837. 000057C4  2052                     movea.l    A0, [A2]
  8838. 000057C6  2143 000C                move.l     [A0 + 0xC], D3
  8839. 000057CA  600C                     bra        +0xE /* 000057D8 */
  8840. label000057CC:
  8841. 000057CC  264A                     movea.l    A3, A2
  8842. 000057CE  2052                     movea.l    A0, [A2]
  8843. 000057D0  2450                     movea.l    A2, [A0]
  8844. label000057D2:
  8845. 000057D2  200A                     move.l     D0, A2
  8846. 000057D4  4A80                     tst.l      D0
  8847. 000057D6  66DE                     bne        -0x20 /* 000057B6 */
  8848. label000057D8:
  8849. 000057D8  200A                     move.l     D0, A2
  8850. 000057DA  4A80                     tst.l      D0
  8851. 000057DC  662E                     bne        +0x30 /* 0000580C */
  8852. 000057DE  7010                     moveq.l    D0, 0x10
  8853. 000057E0  A322                     syscall    NewHandleClear, flags=3
  8854. 000057E2  2448                     movea.l    A2, A0
  8855. 000057E4  200A                     move.l     D0, A2
  8856. 000057E6  4A80                     tst.l      D0
  8857. 000057E8  6722                     beq        +0x24 /* 0000580C */
  8858. 000057EA  2052                     movea.l    A0, [A2]
  8859. 000057EC  2144 0004                move.l     [A0 + 0x4], D4
  8860. 000057F0  2052                     movea.l    A0, [A2]
  8861. 000057F2  214C 0008                move.l     [A0 + 0x8], A4
  8862. 000057F6  2052                     movea.l    A0, [A2]
  8863. 000057F8  2143 000C                move.l     [A0 + 0xC], D3
  8864. 000057FC  200B                     move.l     D0, A3
  8865. 000057FE  4A80                     tst.l      D0
  8866. 00005800  6606                     bne        +0x8 /* 00005808 */
  8867. 00005802  2B4A F706                move.l     [A5 - 0x8FA], A2
  8868. 00005806  6004                     bra        +0x6 /* 0000580C */
  8869. label00005808:
  8870. 00005808  2053                     movea.l    A0, [A3]
  8871. 0000580A  208A                     move.l     [A0], A2
  8872. label0000580C:
  8873. 0000580C  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  8874. 00005810  205F                     movea.l    A0, [A7]+
  8875. 00005812  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8876. 00005816  4ED0                     jmp        [A0]
  8877. 00005818  48E7 0038                movem.l    -[A7], A2,A3,A4
  8878. 0000581C  286F 0018                movea.l    A4, [A7 + 0x18]
  8879. 00005820  266F 0014                movea.l    A3, [A7 + 0x14]
  8880. 00005824  246F 0010                movea.l    A2, [A7 + 0x10]
  8881. 00005828  200A                     move.l     D0, A2
  8882. 0000582A  4A80                     tst.l      D0
  8883. 0000582C  6710                     beq        +0x12 /* 0000583E */
  8884. 0000582E  41ED E8C2                lea.l      A0, [A5 - 0x173E]
  8885. 00005832  224A                     movea.l    A1, A2
  8886. 00005834  7000                     moveq.l    D0, 0x00
  8887. 00005836  102D E8C2                move.b     D0, [A5 - 0x173E]
  8888. 0000583A  5280                     addq.l     D0, 1
  8889. 0000583C  A02E                     syscall    BlockMove/BlockMoveData
  8890. label0000583E:
  8891. 0000583E  200C                     move.l     D0, A4
  8892. 00005840  4A80                     tst.l      D0
  8893. 00005842  6704                     beq        +0x6 /* 00005848 */
  8894. 00005844  38AD E906                move.w     [A4], [A5 - 0x16FA]
  8895. label00005848:
  8896. 00005848  200B                     move.l     D0, A3
  8897. 0000584A  4A80                     tst.l      D0
  8898. 0000584C  6704                     beq        +0x6 /* 00005852 */
  8899. 0000584E  26AD E902                move.l     [A3], [A5 - 0x16FE]
  8900. label00005852:
  8901. 00005852  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8902. 00005856  205F                     movea.l    A0, [A7]+
  8903. 00005858  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8904. 0000585C  4ED0                     jmp        [A0]
  8905. 0000585E  206F 0008                movea.l    A0, [A7 + 0x8]
  8906. 00005862  30AD F714                move.w     [A0], [A5 - 0x8EC]
  8907. 00005866  206F 0004                movea.l    A0, [A7 + 0x4]
  8908. 0000586A  20AD F710                move.l     [A0], [A5 - 0x8F0]
  8909. 0000586E  205F                     movea.l    A0, [A7]+
  8910. 00005870  504F                     addq.w     A7, 8
  8911. 00005872  4ED0                     jmp        [A0]
  8912. 00005874  3B6F 0008 F714           move.w     [A5 - 0x8EC], [A7 + 0x8]
  8913. 0000587A  2B6F 0004 F710           move.l     [A5 - 0x8F0], [A7 + 0x4]
  8914. 00005880  205F                     movea.l    A0, [A7]+
  8915. 00005882  5C4F                     addq.w     A7, 6
  8916. 00005884  4ED0                     jmp        [A0]
  8917. 00005886  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8918. 0000588A  2050                     movea.l    A0, [A0]
  8919. 0000588C  41E8 0004                lea.l      A0, [A0 + 0x4]
  8920. 00005890  226F 0008                movea.l    A1, [A7 + 0x8]
  8921. 00005894  7020                     moveq.l    D0, 0x20
  8922. 00005896  A02E                     syscall    BlockMove/BlockMoveData
  8923. 00005898  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8924. 0000589C  2050                     movea.l    A0, [A0]
  8925. 0000589E  226F 0004                movea.l    A1, [A7 + 0x4]
  8926. 000058A2  32A8 0002                move.w     [A1], [A0 + 0x2]
  8927. 000058A6  205F                     movea.l    A0, [A7]+
  8928. 000058A8  504F                     addq.w     A7, 8
  8929. 000058AA  4ED0                     jmp        [A0]
  8930. 000058AC  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  8931. 000058B0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8932. 000058B4  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  8933. 000058B8  2F2D F70C                move.l     -[A7], [A5 - 0x8F4]
  8934. 000058BC  4EAD FC60                jsr        [A5 - 0x3A0]
  8935. 000058C0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8936. 000058C4  205F                     movea.l    A0, [A7]+
  8937. 000058C6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8938. 000058CA  4ED0                     jmp        [A0]
  8939. 000058CC  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8940. 000058D0  2050                     movea.l    A0, [A0]
  8941. 000058D2  226F 0004                movea.l    A1, [A7 + 0x4]
  8942. 000058D6  12A8 0001                move.b     [A1], [A0 + 0x1]
  8943. 000058DA  2E9F                     move.l     [A7], [A7]+
  8944. 000058DC  4E75                     rts
  8945. 000058DE  006D 0001 F70A           ori.w      [A5 - 0x8F6], 0x1
  8946. 000058E4  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8947. 000058E8  2050                     movea.l    A0, [A0]
  8948. 000058EA  4210                     clr.b      [A0]
  8949. 000058EC  4E75                     rts
  8950. 000058EE  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  8951. 000058F2  2F2D F70C                move.l     -[A7], [A5 - 0x8F4]
  8952. 000058F6  4EAD FC68                jsr        [A5 - 0x398]
  8953. 000058FA  006D 0002 F70A           ori.w      [A5 - 0x8F6], 0x2
  8954. 00005900  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8955. 00005904  2050                     movea.l    A0, [A0]
  8956. 00005906  4210                     clr.b      [A0]
  8957. 00005908  5C4F                     addq.w     A7, 6
  8958. 0000590A  205F                     movea.l    A0, [A7]+
  8959. 0000590C  544F                     addq.w     A7, 2
  8960. 0000590E  4ED0                     jmp        [A0]
  8961. 00005910  1B7C 0001 E8C1           move.b     [A5 - 0x173F], 0x1
  8962. 00005916  006D 0004 F70A           ori.w      [A5 - 0x8F6], 0x4
  8963. 0000591C  206D F70C                movea.l    A0, [A5 - 0x8F4]
  8964. 00005920  2050                     movea.l    A0, [A0]
  8965. 00005922  4210                     clr.b      [A0]
  8966. 00005924  4E75                     rts
  8967. 00005926  1B7C 0001 E533           move.b     [A5 - 0x1ACD], 0x1
  8968. 0000592C  486D E4A8                pea.l      [A5 - 0x1B58]
  8969. 00005930  A851                     syscall    SetCursor
  8970. 00005932  4E75                     rts
  8971. 00005934  422D E533                clr.b      [A5 - 0x1ACD]
  8972. 00005938  4E75                     rts
  8973. fn0000593A:
  8974. 0000593A  48E7 1030                movem.l    -[A7], D3,A2,A3
  8975. 0000593E  246F 0010                movea.l    A2, [A7 + 0x10]
  8976. 00005942  362F 0014                move.w     D3, [A7 + 0x14]
  8977. 00005946  200A                     move.l     D0, A2
  8978. 00005948  4A80                     tst.l      D0
  8979. 0000594A  674A                     beq        +0x4C /* 00005996 */
  8980. 0000594C  2052                     movea.l    A0, [A2]
  8981. 0000594E  0C50 0002                cmpi.w     [A0], 0x2
  8982. 00005952  6E42                     bgt        +0x44 /* 00005996 */
  8983. 00005954  0C43 0001                cmpi.w     D3, 0x1
  8984. 00005958  6D3C                     blt        +0x3E /* 00005996 */
  8985. 0000595A  2052                     movea.l    A0, [A2]
  8986. 0000595C  B668 0002                cmp.w      D3, [A0 + 0x2]
  8987. 00005960  6E34                     bgt        +0x36 /* 00005996 */
  8988. 00005962  594F                     subq.w     A7, 4
  8989. 00005964  2052                     movea.l    A0, [A2]
  8990. 00005966  4868 0004                pea.l      [A0 + 0x4]
  8991. 0000596A  4EAD FF68                jsr        [A5 - 0x98]
  8992. 0000596E  205F                     movea.l    A0, [A7]+
  8993. 00005970  2648                     movea.l    A3, A0
  8994. 00005972  244B                     movea.l    A2, A3
  8995. 00005974  6014                     bra        +0x16 /* 0000598A */
  8996. label00005976:
  8997. 00005976  7000                     moveq.l    D0, 0x00
  8998. 00005978  1012                     move.b     D0, [A2]
  8999. 0000597A  5280                     addq.l     D0, 1
  9000. 0000597C  D5C0                     add.l      A2, D0
  9001. 0000597E  70FE                     moveq.l    D0, 0xFFFFFFFE
  9002. 00005980  204A                     movea.l    A0, A2
  9003. 00005982  5288                     addq.l     A0, 1
  9004. 00005984  2208                     move.l     D1, A0
  9005. 00005986  C280                     and.l      D1, D0
  9006. 00005988  2441                     movea.l    A2, D1
  9007. label0000598A:
  9008. 0000598A  5343                     subq.w     D3, 1
  9009. 0000598C  66E8                     bne        -0x16 /* 00005976 */
  9010. 0000598E  204A                     movea.l    A0, A2
  9011. 00005990  91CB                     sub.l      A0, A3
  9012. 00005992  2008                     move.l     D0, A0
  9013. 00005994  6002                     bra        +0x4 /* 00005998 */
  9014. label00005996:
  9015. 00005996  70FF                     moveq.l    D0, 0xFFFFFFFF
  9016. label00005998:
  9017. 00005998  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  9018. 0000599C  4E75                     rts
  9019. 0000599E  3F7C 0002 0004           move.w     [A7 + 0x4], 0x2
  9020. 000059A4  4E75                     rts
  9021. fn000059A6:
  9022. 000059A6  2F03                     move.l     -[A7], D3
  9023. 000059A8  594F                     subq.w     A7, 4
  9024. 000059AA  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  9025. 000059AE  2F2D F6FE                move.l     -[A7], [A5 - 0x902]
  9026. 000059B2  4EBA FF86                jsr        [PC - 0x7A /* 0000593A */]
  9027. 000059B6  2600                     move.l     D3, D0
  9028. 000059B8  4A83                     tst.l      D3
  9029. 000059BA  5C4F                     addq.w     A7, 6
  9030. 000059BC  6D2C                     blt        +0x2E /* 000059EA */
  9031. 000059BE  206D F6FE                movea.l    A0, [A5 - 0x902]
  9032. 000059C2  2050                     movea.l    A0, [A0]
  9033. 000059C4  5888                     addq.l     A0, 4
  9034. 000059C6  7000                     moveq.l    D0, 0x00
  9035. 000059C8  1030 3800                move.b     D0, [A0 + D3]
  9036. 000059CC  2E80                     move.l     [A7], D0
  9037. 000059CE  206D F6FE                movea.l    A0, [A5 - 0x902]
  9038. 000059D2  2250                     movea.l    A1, [A0]
  9039. 000059D4  41F1 3804                lea.l      A0, [A1 + D3 + 0x4]
  9040. 000059D8  226F 000C                movea.l    A1, [A7 + 0xC]
  9041. 000059DC  2017                     move.l     D0, [A7]
  9042. 000059DE  5280                     addq.l     D0, 1
  9043. 000059E0  A02E                     syscall    BlockMove/BlockMoveData
  9044. 000059E2  1F7C 0001 0012           move.b     [A7 + 0x12], 0x1
  9045. 000059E8  6004                     bra        +0x6 /* 000059EE */
  9046. label000059EA:
  9047. 000059EA  422F 0012                clr.b      [A7 + 0x12]
  9048. label000059EE:
  9049. 000059EE  584F                     addq.w     A7, 4
  9050. 000059F0  261F                     move.l     D3, [A7]+
  9051. 000059F2  205F                     movea.l    A0, [A7]+
  9052. 000059F4  5C4F                     addq.w     A7, 6
  9053. 000059F6  4ED0                     jmp        [A0]
  9054. 000059F8  48E7 1820                movem.l    -[A7], D3,D4,A2
  9055. 000059FC  246F 0010                movea.l    A2, [A7 + 0x10]
  9056. 00005A00  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  9057. 00005A04  2F2D F6FE                move.l     -[A7], [A5 - 0x902]
  9058. 00005A08  4EBA FF30                jsr        [PC - 0xD0 /* 0000593A */]
  9059. 00005A0C  2600                     move.l     D3, D0
  9060. 00005A0E  4A83                     tst.l      D3
  9061. 00005A10  5C4F                     addq.w     A7, 6
  9062. 00005A12  6F2E                     ble        +0x30 /* 00005A42 */
  9063. 00005A14  206D F6FE                movea.l    A0, [A5 - 0x902]
  9064. 00005A18  2050                     movea.l    A0, [A0]
  9065. 00005A1A  5888                     addq.l     A0, 4
  9066. 00005A1C  7800                     moveq.l    D4, 0x00
  9067. 00005A1E  1830 3800                move.b     D4, [A0 + D3]
  9068. 00005A22  2003                     move.l     D0, D3
  9069. 00005A24  5280                     addq.l     D0, 1
  9070. 00005A26  206D F6FE                movea.l    A0, [A5 - 0x902]
  9071. 00005A2A  2250                     movea.l    A1, [A0]
  9072. 00005A2C  41F1 0804                lea.l      A0, [A1 + D0 + 0x4]
  9073. 00005A30  224A                     movea.l    A1, A2
  9074. 00005A32  2004                     move.l     D0, D4
  9075. 00005A34  A02E                     syscall    BlockMove/BlockMoveData
  9076. 00005A36  4232 4800                clr.b      [A2 + D4]
  9077. 00005A3A  1F7C 0001 0016           move.b     [A7 + 0x16], 0x1
  9078. 00005A40  6004                     bra        +0x6 /* 00005A46 */
  9079. label00005A42:
  9080. 00005A42  422F 0016                clr.b      [A7 + 0x16]
  9081. label00005A46:
  9082. 00005A46  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  9083. 00005A4A  205F                     movea.l    A0, [A7]+
  9084. 00005A4C  5C4F                     addq.w     A7, 6
  9085. 00005A4E  4ED0                     jmp        [A0]
  9086. 00005A50  4FEF FEFC                lea.l      A7, [A7 - 0x104]
  9087. 00005A54  554F                     subq.w     A7, 2
  9088. 00005A56  3F2F 010E                move.w     -[A7], [A7 + 0x10E]
  9089. 00005A5A  486F 0004                pea.l      [A7 + 0x4]
  9090. 00005A5E  4EBA FF46                jsr        [PC - 0xBA /* 000059A6 */]
  9091. 00005A62  101F                     move.b     D0, [A7]+
  9092. 00005A64  6734                     beq        +0x36 /* 00005A9A */
  9093. 00005A66  70FF                     moveq.l    D0, 0xFFFFFFFF
  9094. 00005A68  2F40 0100                move.l     [A7 + 0x100], D0
  9095. 00005A6C  4857                     pea.l      [A7]
  9096. 00005A6E  486F 0104                pea.l      [A7 + 0x104]
  9097. 00005A72  4EAD FF58                jsr        [A5 - 0xA8]
  9098. 00005A76  0CAF FFFF 8000 0100      cmpi.l     [A7 + 0x100], 0xFFFF8000
  9099. 00005A7E  6D1A                     blt        +0x1C /* 00005A9A */
  9100. 00005A80  0CAF 0000 7FFF 0100      cmpi.l     [A7 + 0x100], 0x7FFF
  9101. 00005A88  6E10                     bgt        +0x12 /* 00005A9A */
  9102. 00005A8A  206F 0108                movea.l    A0, [A7 + 0x108]
  9103. 00005A8E  30AF 0102                move.w     [A0], [A7 + 0x102]
  9104. 00005A92  1F7C 0001 010E           move.b     [A7 + 0x10E], 0x1
  9105. 00005A98  6004                     bra        +0x6 /* 00005A9E */
  9106. label00005A9A:
  9107. 00005A9A  422F 010E                clr.b      [A7 + 0x10E]
  9108. label00005A9E:
  9109. 00005A9E  4FEF 0104                lea.l      A7, [A7 + 0x104]
  9110. 00005AA2  205F                     movea.l    A0, [A7]+
  9111. 00005AA4  5C4F                     addq.w     A7, 6
  9112. 00005AA6  4ED0                     jmp        [A0]
  9113. 00005AA8  4FEF FEFC                lea.l      A7, [A7 - 0x104]
  9114. 00005AAC  554F                     subq.w     A7, 2
  9115. 00005AAE  3F2F 010E                move.w     -[A7], [A7 + 0x10E]
  9116. 00005AB2  486F 0008                pea.l      [A7 + 0x8]
  9117. 00005AB6  4EBA FEEE                jsr        [PC - 0x112 /* 000059A6 */]
  9118. 00005ABA  101F                     move.b     D0, [A7]+
  9119. 00005ABC  6718                     beq        +0x1A /* 00005AD6 */
  9120. 00005ABE  70FF                     moveq.l    D0, 0xFFFFFFFF
  9121. 00005AC0  2E80                     move.l     [A7], D0
  9122. 00005AC2  486F 0004                pea.l      [A7 + 0x4]
  9123. 00005AC6  2F2F 010C                move.l     -[A7], [A7 + 0x10C]
  9124. 00005ACA  4EAD FF58                jsr        [A5 - 0xA8]
  9125. 00005ACE  1F7C 0001 010E           move.b     [A7 + 0x10E], 0x1
  9126. 00005AD4  6004                     bra        +0x6 /* 00005ADA */
  9127. label00005AD6:
  9128. 00005AD6  422F 010E                clr.b      [A7 + 0x10E]
  9129. label00005ADA:
  9130. 00005ADA  4FEF 0104                lea.l      A7, [A7 + 0x104]
  9131. 00005ADE  205F                     movea.l    A0, [A7]+
  9132. 00005AE0  5C4F                     addq.w     A7, 6
  9133. 00005AE2  4ED0                     jmp        [A0]
  9134. 00005AE4  4FEF FF00                lea.l      A7, [A7 - 0x100]
  9135. 00005AE8  554F                     subq.w     A7, 2
  9136. 00005AEA  3F2F 010A                move.w     -[A7], [A7 + 0x10A]
  9137. 00005AEE  486F 0004                pea.l      [A7 + 0x4]
  9138. 00005AF2  4EBA FEB2                jsr        [PC - 0x14E /* 000059A6 */]
  9139. 00005AF6  101F                     move.b     D0, [A7]+
  9140. 00005AF8  671A                     beq        +0x1C /* 00005B14 */
  9141. 00005AFA  0C17 0004                cmpi.b     [A7], 0x4
  9142. 00005AFE  6614                     bne        +0x16 /* 00005B14 */
  9143. 00005B00  41EF 0001                lea.l      A0, [A7 + 0x1]
  9144. 00005B04  226F 0104                movea.l    A1, [A7 + 0x104]
  9145. 00005B08  7004                     moveq.l    D0, 0x04
  9146. 00005B0A  A02E                     syscall    BlockMove/BlockMoveData
  9147. 00005B0C  1F7C 0001 010A           move.b     [A7 + 0x10A], 0x1
  9148. 00005B12  6004                     bra        +0x6 /* 00005B18 */
  9149. label00005B14:
  9150. 00005B14  422F 010A                clr.b      [A7 + 0x10A]
  9151. label00005B18:
  9152. 00005B18  4FEF 0100                lea.l      A7, [A7 + 0x100]
  9153. 00005B1C  205F                     movea.l    A0, [A7]+
  9154. 00005B1E  5C4F                     addq.w     A7, 6
  9155. 00005B20  4ED0                     jmp        [A0]
  9156. 00005B22  3F3C 0007                move.w     -[A7], 0x7
  9157. 00005B26  4EAD FBA0                jsr        [A5 - 0x460]
  9158. 00005B2A  1F40 0006                move.b     [A7 + 0x6], D0
  9159. 00005B2E  544F                     addq.w     A7, 2
  9160. 00005B30  4E75                     rts
  9161. 00005B32  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  9162. 00005B36  4EBA C7FC                jsr        [PC - 0x3804 /* 00002334 */]
  9163. 00005B3A  584F                     addq.w     A7, 4
  9164. 00005B3C  2E9F                     move.l     [A7], [A7]+
  9165. 00005B3E  4E75                     rts
  9166. 00005B40  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  9167. 00005B44  4EBA C80E                jsr        [PC - 0x37F2 /* 00002354 */]
  9168. 00005B48  584F                     addq.w     A7, 4
  9169. 00005B4A  2E9F                     move.l     [A7], [A7]+
  9170. 00005B4C  4E75                     rts
  9171. 00005B4E  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  9172. 00005B52  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9173. 00005B56  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  9174. 00005B5A  4EBA A966                jsr        [PC - 0x569A /* 000004C2 */]
  9175. 00005B5E  3F40 0018                move.w     [A7 + 0x18], D0
  9176. 00005B62  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9177. 00005B66  205F                     movea.l    A0, [A7]+
  9178. 00005B68  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9179. 00005B6C  4ED0                     jmp        [A0]
  9180. fn00005B6E:
  9181. 00005B6E  48E7 1020                movem.l    -[A7], D3,A2
  9182. 00005B72  4A6D F41C                tst.w      [A5 - 0xBE4]
  9183. 00005B76  6600 0258                bne        +0x25A /* 00005DD0 */
  9184. 00005B7A  7600                     moveq.l    D3, 0x00
  9185. 00005B7C  6000 0240                bra        +0x242 /* 00005DBE */
  9186. label00005B80:
  9187. 00005B80  3443                     movea.w    A2, D3
  9188. 00005B82  200A                     move.l     D0, A2
  9189. 00005B84  EB88                     lsl        D0, 5
  9190. 00005B86  45ED F408                lea.l      A2, [A5 - 0xBF8]
  9191. 00005B8A  D5C0                     add.l      A2, D0
  9192. 00005B8C  45EA 0016                lea.l      A2, [A2 + 0x16]
  9193. 00005B90  34BC AAFE                move.w     [A2], 0xAAFE
  9194. 00005B94  157C 0007 0002           move.b     [A2 + 0x2], 0x7
  9195. 00005B9A  422A 0003                clr.b      [A2 + 0x3]
  9196. 00005B9E  42AA 0004                clr.l      [A2 + 0x4]
  9197. 00005BA2  422A 0008                clr.b      [A2 + 0x8]
  9198. 00005BA6  422A 0009                clr.b      [A2 + 0x9]
  9199. 00005BAA  426A 000A                clr.w      [A2 + 0xA]
  9200. 00005BAE  422A 0010                clr.b      [A2 + 0x10]
  9201. 00005BB2  422A 0011                clr.b      [A2 + 0x11]
  9202. 00005BB6  357C 0004 0012           move.w     [A2 + 0x12], 0x4
  9203. 00005BBC  42AA 0018                clr.l      [A2 + 0x18]
  9204. 00005BC0  42AA 001C                clr.l      [A2 + 0x1C]
  9205. 00005BC4  3003                     move.w     D0, D3
  9206. 00005BC6  48C0                     ext.l      D0
  9207. 00005BC8  0C80 0000 0016           cmpi.l     D0, 0x16
  9208. 00005BCE  6200 01E4                bhi        +0x1E6 /* 00005DB4 */
  9209. 00005BD2  D040                     add.w      D0, D0
  9210. 00005BD4  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  9211. 00005BD8  4EFB 0002                jmp        [PC + D0.w + 0x2]
  9212. 00005BDC  002E 0042 0056           ori.b      [A6 + 0x56], 0x42 /* 'B' */
  9213. 00005BE2  006A 007E 0092           ori.w      [A2 + 0x92], 0x7E /* '~' */
  9214. 00005BE8  00A6 00BA 00CE           ori.l      -[A6], 0xBA00CE
  9215. 00005BEE  00DE                     ori.?      [A6]+, 0xFFFFFFFFFFFFFFFF
  9216. 00005BF0  00F2 0102 0112           ori.?      [[A2 + <<invalid base displacement size>> + D0] + 0x112], 0xFFFFFFFFFFFFFFFF
  9217. 00005BF6  0122                     btst       -[A2], D0
  9218. 00005BF8  0134 0148                btst       [A4 + <<invalid base displacement size>>], D0
  9219. 00005BFC  015C                     bchg       [A4]+, D0
  9220. 00005BFE  016E 0180                bchg       [A6 + 0x180], D0
  9221. 00005C02  0192                     bclr       [A2], D0
  9222. 00005C04  01A2                     bclr       -[A2], D0
  9223. 00005C06  01B4 01C6                bclr       <<invalid full ext with IS == 1 and I/IS == 6>>, D0
  9224. 00005C0A  257C 0000 0FC0 000C      move.l     [A2 + 0xC], 0xFC0
  9225. 00005C12  41ED FD78                lea.l      A0, [A5 - 0x288]
  9226. 00005C16  2548 0014                move.l     [A2 + 0x14], A0
  9227. 00005C1A  6000 01A0                bra        +0x1A2 /* 00005DBC */
  9228. 00005C1E  257C 0000 0FC0 000C      move.l     [A2 + 0xC], 0xFC0
  9229. 00005C26  41ED FD80                lea.l      A0, [A5 - 0x280]
  9230. 00005C2A  2548 0014                move.l     [A2 + 0x14], A0
  9231. 00005C2E  6000 018C                bra        +0x18E /* 00005DBC */
  9232. 00005C32  257C 0000 0FC0 000C      move.l     [A2 + 0xC], 0xFC0
  9233. 00005C3A  41ED FD88                lea.l      A0, [A5 - 0x278]
  9234. 00005C3E  2548 0014                move.l     [A2 + 0x14], A0
  9235. 00005C42  6000 0178                bra        +0x17A /* 00005DBC */
  9236. 00005C46  257C 0000 03C0 000C      move.l     [A2 + 0xC], 0x3C0
  9237. 00005C4E  41ED FD90                lea.l      A0, [A5 - 0x270]
  9238. 00005C52  2548 0014                move.l     [A2 + 0x14], A0
  9239. 00005C56  6000 0164                bra        +0x166 /* 00005DBC */
  9240. 00005C5A  257C 0000 0380 000C      move.l     [A2 + 0xC], 0x380
  9241. 00005C62  41ED FD98                lea.l      A0, [A5 - 0x268]
  9242. 00005C66  2548 0014                move.l     [A2 + 0x14], A0
  9243. 00005C6A  6000 0150                bra        +0x152 /* 00005DBC */
  9244. 00005C6E  257C 0000 03C0 000C      move.l     [A2 + 0xC], 0x3C0
  9245. 00005C76  41ED FDA0                lea.l      A0, [A5 - 0x260]
  9246. 00005C7A  2548 0014                move.l     [A2 + 0x14], A0
  9247. 00005C7E  6000 013C                bra        +0x13E /* 00005DBC */
  9248. 00005C82  257C 0000 0F80 000C      move.l     [A2 + 0xC], 0xF80
  9249. 00005C8A  41ED FDA8                lea.l      A0, [A5 - 0x258]
  9250. 00005C8E  2548 0014                move.l     [A2 + 0x14], A0
  9251. 00005C92  6000 0128                bra        +0x12A /* 00005DBC */
  9252. 00005C96  257C 0000 00C0 000C      move.l     [A2 + 0xC], 0xC0
  9253. 00005C9E  41ED FDB0                lea.l      A0, [A5 - 0x250]
  9254. 00005CA2  2548 0014                move.l     [A2 + 0x14], A0
  9255. 00005CA6  6000 0114                bra        +0x116 /* 00005DBC */
  9256. 00005CAA  42AA 000C                clr.l      [A2 + 0xC]
  9257. 00005CAE  41ED FDB8                lea.l      A0, [A5 - 0x248]
  9258. 00005CB2  2548 0014                move.l     [A2 + 0x14], A0
  9259. 00005CB6  6000 0104                bra        +0x106 /* 00005DBC */
  9260. 00005CBA  257C 0000 0080 000C      move.l     [A2 + 0xC], 0x80
  9261. 00005CC2  41ED FDC0                lea.l      A0, [A5 - 0x240]
  9262. 00005CC6  2548 0014                move.l     [A2 + 0x14], A0
  9263. 00005CCA  6000 00F0                bra        +0xF2 /* 00005DBC */
  9264. 00005CCE  42AA 000C                clr.l      [A2 + 0xC]
  9265. 00005CD2  41ED FDC8                lea.l      A0, [A5 - 0x238]
  9266. 00005CD6  2548 0014                move.l     [A2 + 0x14], A0
  9267. 00005CDA  6000 00E0                bra        +0xE2 /* 00005DBC */
  9268. 00005CDE  42AA 000C                clr.l      [A2 + 0xC]
  9269. 00005CE2  41ED FDD0                lea.l      A0, [A5 - 0x230]
  9270. 00005CE6  2548 0014                move.l     [A2 + 0x14], A0
  9271. 00005CEA  6000 00D0                bra        +0xD2 /* 00005DBC */
  9272. 00005CEE  42AA 000C                clr.l      [A2 + 0xC]
  9273. 00005CF2  41ED FDD8                lea.l      A0, [A5 - 0x228]
  9274. 00005CF6  2548 0014                move.l     [A2 + 0x14], A0
  9275. 00005CFA  6000 00C0                bra        +0xC2 /* 00005DBC */
  9276. 00005CFE  7020                     moveq.l    D0, 0x20
  9277. 00005D00  2540 000C                move.l     [A2 + 0xC], D0
  9278. 00005D04  41ED FDE0                lea.l      A0, [A5 - 0x220]
  9279. 00005D08  2548 0014                move.l     [A2 + 0x14], A0
  9280. 00005D0C  6000 00AE                bra        +0xB0 /* 00005DBC */
  9281. 00005D10  257C 0000 0390 000C      move.l     [A2 + 0xC], 0x390
  9282. 00005D18  41ED FDE8                lea.l      A0, [A5 - 0x218]
  9283. 00005D1C  2548 0014                move.l     [A2 + 0x14], A0
  9284. 00005D20  6000 009A                bra        +0x9C /* 00005DBC */
  9285. 00005D24  257C 0000 0390 000C      move.l     [A2 + 0xC], 0x390
  9286. 00005D2C  41ED FDF0                lea.l      A0, [A5 - 0x210]
  9287. 00005D30  2548 0014                move.l     [A2 + 0x14], A0
  9288. 00005D34  6000 0086                bra        +0x88 /* 00005DBC */
  9289. 00005D38  257C 0000 0390 000C      move.l     [A2 + 0xC], 0x390
  9290. 00005D40  41ED FDF8                lea.l      A0, [A5 - 0x208]
  9291. 00005D44  2548 0014                move.l     [A2 + 0x14], A0
  9292. 00005D48  6072                     bra        +0x74 /* 00005DBC */
  9293. 00005D4A  257C 0000 0390 000C      move.l     [A2 + 0xC], 0x390
  9294. 00005D52  41ED FE00                lea.l      A0, [A5 - 0x200]
  9295. 00005D56  2548 0014                move.l     [A2 + 0x14], A0
  9296. 00005D5A  6060                     bra        +0x62 /* 00005DBC */
  9297. 00005D5C  257C 0000 0390 000C      move.l     [A2 + 0xC], 0x390
  9298. 00005D64  41ED FE08                lea.l      A0, [A5 - 0x1F8]
  9299. 00005D68  2548 0014                move.l     [A2 + 0x14], A0
  9300. 00005D6C  604E                     bra        +0x50 /* 00005DBC */
  9301. 00005D6E  7010                     moveq.l    D0, 0x10
  9302. 00005D70  2540 000C                move.l     [A2 + 0xC], D0
  9303. 00005D74  41ED FE10                lea.l      A0, [A5 - 0x1F0]
  9304. 00005D78  2548 0014                move.l     [A2 + 0x14], A0
  9305. 00005D7C  603E                     bra        +0x40 /* 00005DBC */
  9306. 00005D7E  257C 0000 00C0 000C      move.l     [A2 + 0xC], 0xC0
  9307. 00005D86  41ED FE18                lea.l      A0, [A5 - 0x1E8]
  9308. 00005D8A  2548 0014                move.l     [A2 + 0x14], A0
  9309. 00005D8E  602C                     bra        +0x2E /* 00005DBC */
  9310. 00005D90  257C 0000 00C0 000C      move.l     [A2 + 0xC], 0xC0
  9311. 00005D98  41ED FE20                lea.l      A0, [A5 - 0x1E0]
  9312. 00005D9C  2548 0014                move.l     [A2 + 0x14], A0
  9313. 00005DA0  601A                     bra        +0x1C /* 00005DBC */
  9314. 00005DA2  257C 0000 0FA0 000C      move.l     [A2 + 0xC], 0xFA0
  9315. 00005DAA  41ED FE28                lea.l      A0, [A5 - 0x1D8]
  9316. 00005DAE  2548 0014                move.l     [A2 + 0x14], A0
  9317. 00005DB2  6008                     bra        +0xA /* 00005DBC */
  9318. label00005DB4:
  9319. 00005DB4  42AA 000C                clr.l      [A2 + 0xC]
  9320. 00005DB8  42AA 0014                clr.l      [A2 + 0x14]
  9321. label00005DBC:
  9322. 00005DBC  5243                     addq.w     D3, 1
  9323. label00005DBE:
  9324. 00005DBE  3003                     move.w     D0, D3
  9325. 00005DC0  48C0                     ext.l      D0
  9326. 00005DC2  7217                     moveq.l    D1, 0x17
  9327. 00005DC4  B081                     cmp.l      D0, D1
  9328. 00005DC6  6D00 FDB8                blt        -0x246 /* 00005B80 */
  9329. 00005DCA  3B7C 0017 F41C           move.w     [A5 - 0xBE4], 0x17
  9330. label00005DD0:
  9331. 00005DD0  4CDF 0408                movem.l    D3,A2, [A7]+
  9332. 00005DD4  4E75                     rts
  9333. fn00005DD6:
  9334. 00005DD6  4E56 0000                link       A6, 0
  9335. 00005DDA  2F0C                     move.l     -[A7], A4
  9336. 00005DDC  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  9337. 00005DE0  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  9338. 00005DE4  286E 0008                movea.l    A4, [A6 + 0x8]
  9339. 00005DE8  4E94                     jsr        [A4]
  9340. 00005DEA  285F                     movea.l    A4, [A7]+
  9341. 00005DEC  4E5E                     unlink     A6
  9342. 00005DEE  4E75                     rts
  9343. fn00005DF0:
  9344. 00005DF0  2F0A                     move.l     -[A7], A2
  9345. 00005DF2  554F                     subq.w     A7, 2
  9346. 00005DF4  246F 000A                movea.l    A2, [A7 + 0xA]
  9347. 00005DF8  204A                     movea.l    A0, A2
  9348. 00005DFA  A069                     syscall    HGetState
  9349. 00005DFC  1F40 0001                move.b     [A7 + 0x1], D0
  9350. 00005E00  204A                     movea.l    A0, A2
  9351. 00005E02  A064                     syscall    MoveHHi
  9352. 00005E04  204A                     movea.l    A0, A2
  9353. 00005E06  A029                     syscall    HLock
  9354. 00005E08  4EBA FD64                jsr        [PC - 0x29C /* 00005B6E */]
  9355. 00005E0C  486D F408                pea.l      [A5 - 0xBF8]
  9356. 00005E10  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  9357. 00005E14  594F                     subq.w     A7, 4
  9358. 00005E16  2F12                     move.l     -[A7], [A2]
  9359. 00005E18  4EAD FF68                jsr        [A5 - 0x98]
  9360. 00005E1C  205F                     movea.l    A0, [A7]+
  9361. 00005E1E  2F08                     move.l     -[A7], A0
  9362. 00005E20  4EBA FFB4                jsr        [PC - 0x4C /* 00005DD6 */]
  9363. 00005E24  204A                     movea.l    A0, A2
  9364. 00005E26  102F 000B                move.b     D0, [A7 + 0xB]
  9365. 00005E2A  A06A                     syscall    HSetState
  9366. 00005E2C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9367. 00005E30  245F                     movea.l    A2, [A7]+
  9368. 00005E32  4E75                     rts
  9369. fn00005E34:
  9370. 00005E34  48E7 0030                movem.l    -[A7], A2,A3
  9371. 00005E38  246D F706                movea.l    A2, [A5 - 0x8FA]
  9372. 00005E3C  601A                     bra        +0x1C /* 00005E58 */
  9373. label00005E3E:
  9374. 00005E3E  2052                     movea.l    A0, [A2]
  9375. 00005E40  2650                     movea.l    A3, [A0]
  9376. 00005E42  2052                     movea.l    A0, [A2]
  9377. 00005E44  4AA8 0008                tst.l      [A0 + 0x8]
  9378. 00005E48  6708                     beq        +0xA /* 00005E52 */
  9379. 00005E4A  2052                     movea.l    A0, [A2]
  9380. 00005E4C  2068 0008                movea.l    A0, [A0 + 0x8]
  9381. 00005E50  A023                     syscall    DisposHandle/DisposeHandle
  9382. label00005E52:
  9383. 00005E52  204A                     movea.l    A0, A2
  9384. 00005E54  A023                     syscall    DisposHandle/DisposeHandle
  9385. 00005E56  244B                     movea.l    A2, A3
  9386. label00005E58:
  9387. 00005E58  200A                     move.l     D0, A2
  9388. 00005E5A  4A80                     tst.l      D0
  9389. 00005E5C  66E0                     bne        -0x1E /* 00005E3E */
  9390. 00005E5E  42AD F706                clr.l      [A5 - 0x8FA]
  9391. 00005E62  4CDF 0C00                movem.l    A2,A3, [A7]+
  9392. 00005E66  4E75                     rts
  9393. fn00005E68:
  9394. 00005E68  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  9395. 00005E6C  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  9396. 00005E70  286F 0034                movea.l    A4, [A7 + 0x34]
  9397. 00005E74  266F 0038                movea.l    A3, [A7 + 0x38]
  9398. 00005E78  246F 003C                movea.l    A2, [A7 + 0x3C]
  9399. 00005E7C  3B54 F714                move.w     [A5 - 0x8EC], [A4]
  9400. 00005E80  2B53 F710                move.l     [A5 - 0x8F0], [A3]
  9401. 00005E84  2B4A F70C                move.l     [A5 - 0x8F4], A2
  9402. 00005E88  426D F70A                clr.w      [A5 - 0x8F6]
  9403. 00005E8C  2052                     movea.l    A0, [A2]
  9404. 00005E8E  41E8 0004                lea.l      A0, [A0 + 0x4]
  9405. 00005E92  43D7                     lea.l      A1, [A7]
  9406. 00005E94  7020                     moveq.l    D0, 0x20
  9407. 00005E96  A02E                     syscall    BlockMove/BlockMoveData
  9408. 00005E98  4EBA ABB2                jsr        [PC - 0x544E /* 00000A4C */]
  9409. 00005E9C  4A00                     tst.b      D0
  9410. 00005E9E  6604                     bne        +0x6 /* 00005EA4 */
  9411. 00005EA0  91C8                     sub.l      A0, A0
  9412. 00005EA2  6010                     bra        +0x12 /* 00005EB4 */
  9413. label00005EA4:
  9414. 00005EA4  594F                     subq.w     A7, 4
  9415. 00005EA6  2F3C 5852 6F7A           move.l     -[A7], 0x58526F7A /* 'XRoz' */
  9416. 00005EAC  486F 0008                pea.l      [A7 + 0x8]
  9417. 00005EB0  A9A1                     syscall    GetNamedResource
  9418. 00005EB2  205F                     movea.l    A0, [A7]+
  9419. label00005EB4:
  9420. 00005EB4  2B48 F702                move.l     [A5 - 0x8FE], A0
  9421. 00005EB8  B0FC 0000                cmpa.w     A0, 0x0
  9422. 00005EBC  6614                     bne        +0x16 /* 00005ED2 */
  9423. 00005EBE  594F                     subq.w     A7, 4
  9424. 00005EC0  2F3C 5852 6179           move.l     -[A7], 0x58526179 /* 'XRay' */
  9425. 00005EC6  486F 0008                pea.l      [A7 + 0x8]
  9426. 00005ECA  A9A1                     syscall    GetNamedResource
  9427. 00005ECC  205F                     movea.l    A0, [A7]+
  9428. 00005ECE  2B48 F702                move.l     [A5 - 0x8FE], A0
  9429. label00005ED2:
  9430. 00005ED2  4AAD F702                tst.l      [A5 - 0x8FE]
  9431. 00005ED6  6724                     beq        +0x26 /* 00005EFC */
  9432. 00005ED8  2052                     movea.l    A0, [A2]
  9433. 00005EDA  4A68 006A                tst.w      [A0 + 0x6A]
  9434. 00005EDE  6718                     beq        +0x1A /* 00005EF8 */
  9435. 00005EE0  594F                     subq.w     A7, 4
  9436. 00005EE2  2F3C 5850 6172           move.l     -[A7], 0x58506172 /* 'XPar' */
  9437. 00005EE8  2052                     movea.l    A0, [A2]
  9438. 00005EEA  3F28 006A                move.w     -[A7], [A0 + 0x6A]
  9439. 00005EEE  A9A0                     syscall    GetResource
  9440. 00005EF0  205F                     movea.l    A0, [A7]+
  9441. 00005EF2  2B48 F6FE                move.l     [A5 - 0x902], A0
  9442. 00005EF6  6004                     bra        +0x6 /* 00005EFC */
  9443. label00005EF8:
  9444. 00005EF8  42AD F6FE                clr.l      [A5 - 0x902]
  9445. label00005EFC:
  9446. 00005EFC  4AAD F702                tst.l      [A5 - 0x8FE]
  9447. 00005F00  6728                     beq        +0x2A /* 00005F2A */
  9448. 00005F02  554F                     subq.w     A7, 2
  9449. 00005F04  A994                     syscall    CurResFile
  9450. 00005F06  301F                     move.w     D0, [A7]+
  9451. 00005F08  3600                     move.w     D3, D0
  9452. 00005F0A  554F                     subq.w     A7, 2
  9453. 00005F0C  2F2D F702                move.l     -[A7], [A5 - 0x8FE]
  9454. 00005F10  A9A4                     syscall    HomeResFile
  9455. 00005F12  301F                     move.w     D0, [A7]+
  9456. 00005F14  3F00                     move.w     -[A7], D0
  9457. 00005F16  A998                     syscall    UseResFile
  9458. 00005F18  3F3C 0003                move.w     -[A7], 0x3
  9459. 00005F1C  2F2D F702                move.l     -[A7], [A5 - 0x8FE]
  9460. 00005F20  4EBA FECE                jsr        [PC - 0x132 /* 00005DF0 */]
  9461. 00005F24  3F03                     move.w     -[A7], D3
  9462. 00005F26  A998                     syscall    UseResFile
  9463. 00005F28  5C4F                     addq.w     A7, 6
  9464. label00005F2A:
  9465. 00005F2A  422D E533                clr.b      [A5 - 0x1ACD]
  9466. 00005F2E  38AD F714                move.w     [A4], [A5 - 0x8EC]
  9467. 00005F32  26AD F710                move.l     [A3], [A5 - 0x8F0]
  9468. 00005F36  302D F70A                move.w     D0, [A5 - 0x8F6]
  9469. 00005F3A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  9470. 00005F3E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  9471. 00005F42  4E75                     rts
  9472. fn00005F44:
  9473. 00005F44  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  9474. 00005F48  286F 0018                movea.l    A4, [A7 + 0x18]
  9475. 00005F4C  266F 001C                movea.l    A3, [A7 + 0x1C]
  9476. 00005F50  246F 0024                movea.l    A2, [A7 + 0x24]
  9477. 00005F54  3B54 F714                move.w     [A5 - 0x8EC], [A4]
  9478. 00005F58  2B53 F710                move.l     [A5 - 0x8F0], [A3]
  9479. 00005F5C  2B6F 0020 F70C           move.l     [A5 - 0x8F4], [A7 + 0x20]
  9480. 00005F62  426D F70A                clr.w      [A5 - 0x8F6]
  9481. 00005F66  200A                     move.l     D0, A2
  9482. 00005F68  4A80                     tst.l      D0
  9483. 00005F6A  6754                     beq        +0x56 /* 00005FC0 */
  9484. 00005F6C  7600                     moveq.l    D3, 0x00
  9485. 00005F6E  6044                     bra        +0x46 /* 00005FB4 */
  9486. label00005F70:
  9487. 00005F70  2003                     move.l     D0, D3
  9488. 00005F72  E788                     lsl        D0, 3
  9489. 00005F74  2B72 0800 F702           move.l     [A5 - 0x8FE], [A2 + D0]
  9490. 00005F7A  4AAD F702                tst.l      [A5 - 0x8FE]
  9491. 00005F7E  6732                     beq        +0x34 /* 00005FB2 */
  9492. 00005F80  554F                     subq.w     A7, 2
  9493. 00005F82  A994                     syscall    CurResFile
  9494. 00005F84  301F                     move.w     D0, [A7]+
  9495. 00005F86  3800                     move.w     D4, D0
  9496. 00005F88  554F                     subq.w     A7, 2
  9497. 00005F8A  2F2D F702                move.l     -[A7], [A5 - 0x8FE]
  9498. 00005F8E  A9A4                     syscall    HomeResFile
  9499. 00005F90  301F                     move.w     D0, [A7]+
  9500. 00005F92  3F00                     move.w     -[A7], D0
  9501. 00005F94  A998                     syscall    UseResFile
  9502. 00005F96  2003                     move.l     D0, D3
  9503. 00005F98  E788                     lsl        D0, 3
  9504. 00005F9A  2B72 0804 F6FE           move.l     [A5 - 0x902], [A2 + D0 + 0x4]
  9505. 00005FA0  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  9506. 00005FA4  2F2D F702                move.l     -[A7], [A5 - 0x8FE]
  9507. 00005FA8  4EBA FE46                jsr        [PC - 0x1BA /* 00005DF0 */]
  9508. 00005FAC  3F04                     move.w     -[A7], D4
  9509. 00005FAE  A998                     syscall    UseResFile
  9510. 00005FB0  5C4F                     addq.w     A7, 6
  9511. label00005FB2:
  9512. 00005FB2  5283                     addq.l     D3, 1
  9513. label00005FB4:
  9514. 00005FB4  4A6D F70A                tst.w      [A5 - 0x8F6]
  9515. 00005FB8  6606                     bne        +0x8 /* 00005FC0 */
  9516. 00005FBA  B6AF 0028                cmp.l      D3, [A7 + 0x28]
  9517. 00005FBE  6DB0                     blt        -0x4E /* 00005F70 */
  9518. label00005FC0:
  9519. 00005FC0  422D E533                clr.b      [A5 - 0x1ACD]
  9520. 00005FC4  38AD F714                move.w     [A4], [A5 - 0x8EC]
  9521. 00005FC8  26AD F710                move.l     [A3], [A5 - 0x8F0]
  9522. 00005FCC  302D F70A                move.w     D0, [A5 - 0x8F6]
  9523. 00005FD0  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  9524. 00005FD4  4E75                     rts
  9525. 00005FD6  0000 0000                ori.b      D0, 0x0
  9526. 00005FDA  0000 0000                ori.b      D0, 0x0
  9527. 00005FDE  0000 0000                ori.b      D0, 0x0
  9528.